Stored cross-site scripting in AMP for WP plugin via comment content
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
The AMP for WP (Accelerated Mobile Pages) plugin for WordPress is affected up to and including version 1.1.19. A regex filter applied to AMP page output deletes a closing quote, so comment text in a title attribute is parsed as live HTML (CWE-79). An unauthenticated attacker can submit a comment that injects scripts once an administrator approves it, and the scripts run when users open the page.
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Description from the CNA
The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 1.1.19 via comment content rendered on AMP post pages. The plugin registers an output-buffer callback ampforwp_the_content_filter_full() on the 'wp' action (priority 999) that applies a set of tag-agnostic and quote-agnostic regular expressions — notably /onclick=[^>]*/ — to the entire AMP page output after approved comments have already been echoed into it; these regexes do not understand HTML tag or attribute-value boundaries, so a kses-legal comment that places strings like 'onclick="' inside a title attribute value can trigger deletion of the title's closing quote, causing the browser to re-parse what was previously textual content inside the attribute value as live HTML attributes. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page, after an administrator has approved the comment.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| mohammed_kaludi | AMP for WP – Accelerated Mobile Pages | up to 1.1.19 | — | No fix listed | CNA |
- AMP for WP – Accelerated Mobile Pages Vendormohammed_kaludi Affected up to 1.1.19 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for AMP for WP (Accelerated Mobile Pages).
Written with Claude Haiku 5.5 from the sources below · 2026-11-18
Timeline
- 2026-11-18 Threatist record created from CVE-2026-120686
- 2026-11-18 Alias added: GHSA-fgmr-wj3h-cv66
- 2026-11-18 CISA SSVC decision points changed
References
Other 8
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76b54fdf-9a41-47b9-8579-0ecbfc3663c0?source=cve
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L275
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L274
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L292
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L322
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L89
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L77
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3787270%40accelerated-mobile-pages&new=3787270%40accelerated-mobile-pages
More mohammed_kaludi vulnerabilities
- TI-2024-08905 AMP for WP – Accelerated Mobile Pages <= 1.0.99.1 - Cross-Site Request Forgery to Privilege Escalation CVSS 3.1HIGH 8.8
- TI-2026-57693 AMP for WP <= 1.1.16 - Unauthenticated Stored Cross-Site Scripting via Comment Content Regex Transformation CVSS 3.1HIGH 7.2
- TI-2026-05345 AMP for WP <= 1.1.12 - Authenticated (Author+) Arbitrary File Write via Role-Based Access… CVSS 3.1HIGH 7.5
- TI-2026-81640 Stored cross-site scripting in AMP for WP via shortcode attribute CVSS 3.1HIGH 7.2
- TI-2026-99015 Stored cross-site scripting in AMP for WP WordPress plugin CVSS 3.1HIGH 7.1
- TI-2026-63639 WordPress Core Web Vitals & PageSpeed Booster plugin <= 1.0.31 - Cross Site Scripting (XSS) vulnerability CVSS 3.1HIGH 7.1
Sources
- CVE-2026-120686 · CVE Program
- CVE-2026-120686 · NVD
- FIRST EPSS
- GHSA-fgmr-wj3h-cv66 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences