{
 "id": "WPSEC-2026-2691",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2691/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2691/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2691/index.md",
 "title": "AMP for WP <= 1.1.19 - Unauthenticated Stored Cross-Site Scripting via AMP Content Filter Attribute-Boundary Shift",
 "description": "The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the AMP output buffer filter (ampforwp_the_content_filter_full) in all versions up to, and including, 1.1.19, due to quote-unaware regular-expression rewriting of the fully rendered AMP page. The filter removes 'onclick=' sequences up to the next '>' and '<g...>' sequences, among others. When that text appears inside an attribute value that passed kses filtering, such as the title of a link in a comment, the closing quote is removed and the text that follows becomes live attributes. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected AMP page.",
 "plugin": {
  "slug": "accelerated-mobile-pages",
  "name": "AMP for WP",
  "full_name": "AMP for WP – Accelerated Mobile Pages",
  "wordpress_org": "https://wordpress.org/plugins/accelerated-mobile-pages/",
  "advisories_url": "https://wpsec.com/vuln/plugin/accelerated-mobile-pages/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/accelerated-mobile-pages"
 },
 "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": "0.9.33",
    "from_inclusive": true,
    "to": "1.1.20",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 0.9.33 before 1.1.20"
  ]
 },
 "introduced_in": "0.9.33",
 "fixed_in": "1.1.20",
 "remediation": "Update to 1.1.20 or later.",
 "fix_released": "2026-11-06T06:14:43+00:00",
 "published": "2026-11-07T06:40:50+00:00",
 "updated": "2026-11-06T12:02:13.444133+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2691/",
  "https://plugins.svn.wordpress.org/accelerated-mobile-pages/tags/1.1.20/",
  "https://wordpress.org/plugins/accelerated-mobile-pages/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/accelerated-mobile-pages",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Low",
  "as_of": "2026-11-07"
 }
}