CVE-2026-120686
Description
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.
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-11-18 |
Timeline
- 2026-11-18Published by the CNA11:30 UTC
- 2026-11-18Published in NVD12:17 UTC · 46 minutes after the CNA
- 2026-11-18CISA SSVC decision recordedsame day
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| mohammed_kaludi amp_for_wp_–_accelerated_mobile_pages | from 0 through 1.1.19no fix listed | not listed |
References
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L77
- 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/includes/features/functions.php#L274
- 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#L292
- https://plugins.trac.wordpress.org/browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L322
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3787270%40accelerated-mobile-pages&new=3787270%40accelerated-mobile-pages
- https://www.wordfence.com/threat-intel/vulnerabilities/id/76b54fdf-9a41-47b9-8579-0ecbfc3663c0?source=cve
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-120686'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-120686'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-120686'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-120686'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).