{
 "id": "WPSEC-2026-2666",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2666/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2666/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2666/index.md",
 "title": "ActivityPub <= 9.4.2 - Unauthenticated Stored Cross-Site Scripting via Custom Emoji Tag Name",
 "description": "The ActivityPub plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'name' of custom Emoji tags in federated replies and remote posts in all versions up to, and including, 9.4.2. This is due to insufficient validation of the remote-controlled emoji name. After the remote HTML has been sanitized, every case-insensitive occurrence of the name in the content is replaced with activitypub/emoji block delimiters. When a name matches part of the sanitized markup, such as text inside an attribute value, these delimiters land inside HTML tags and attributes, and the block renderer later rebuilds the markup into unsafe HTML. This makes it possible for unauthenticated attackers operating a remote Fediverse account to inject arbitrary web scripts in pages that will execute whenever a user accesses an affected page, including the comment moderation screen.",
 "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": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "9.4.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 9.4.3"
  ]
 },
 "introduced_in": null,
 "fixed_in": "9.4.3",
 "remediation": "Update to 9.4.3 or later.",
 "fix_released": "2026-11-05T14:32:29+00:00",
 "published": "2026-11-06T14:43:11+00:00",
 "updated": "2026-11-06T11:59:31.073900+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2666/",
  "https://plugins.svn.wordpress.org/activitypub/tags/9.4.3/",
  "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-06"
 }
}