{
 "id": "WPSEC-2026-3513",
 "url": "https://wpsec.com/vuln/WPSEC-2026-3513/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-3513/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-3513/index.md",
 "title": "ActivityPub <= 9.4.3 - Unauthenticated Stored Cross-Site Scripting via Custom Emoji in Tag Attributes",
 "description": "The ActivityPub plugin for WordPress is vulnerable to Stored Cross-Site Scripting via custom emoji shortcodes in federated content in all versions up to, and including, 9.4.3, due to the plugin wrapping emoji shortcodes in emoji blocks, and rendering them as img markup, anywhere in the text, including inside HTML tag attributes. The generated markup can break out of the attribute when the content is stored without a second kses pass, for example when a reply is imported through the URL search while an administrator is logged in. This makes it possible for unauthenticated attackers controlling a remote Fediverse actor to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, if they can trick an administrator into performing an action such as searching for or opening a link to the attacker's post.",
 "plugin": {
  "slug": "activitypub",
  "name": "ActivityPub",
  "full_name": "ActivityPub",
  "wordpress_org": "https://wordpress.org/plugins/activitypub/",
  "advisories_url": "https://wpsec.com/vuln/plugin/activitypub/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/activitypub"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.1,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "9.4.4",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 9.4.4"
  ]
 },
 "introduced_in": null,
 "fixed_in": "9.4.4",
 "remediation": "Update to 9.4.4 or later.",
 "fix_released": "2026-11-18T16:04:32+00:00",
 "published": "2026-11-19T16:46:27+00:00",
 "updated": "2026-11-19T08:55:02.022526+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-3513/",
  "https://plugins.svn.wordpress.org/activitypub/tags/9.4.4/",
  "https://wordpress.org/plugins/activitypub/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/activitypub",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-19"
 }
}