WordPress plugins
CVE-2026-120686
AMP for WP <= 1.1.19 - Unauthenticated Stored Cross-Site Scripting via Comment Content
- Severity
- High 7.2
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 18 Nov 2026
- Exploit chance
- 0.4% in the next 30 daysHigher than 35% of CVEs. EPSS by FIRST, 19 Nov 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · No user action needed
- Attacker can
- Read some data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
Accelerated Mobile Pages (WordPress plugin)WordPress plugins · wp-plugin:accelerated-mobile-pages |
|
About AMP for WP – Accelerated Mobile Pages
AMP for WP is the most recommended AMP plugin by the community. Automatically add Accelerated Mobile Pages (Google AMP Project) functionality on your …
- Active installations
- 70,000+WordPress.org, 15 Nov 2026
- Latest version
- 1.1.20WordPress.org, 15 Nov 2026
- Last updated
- 6 Nov 2026WordPress.org
- Rating
- 4.4 out of 5 (1,319 ratings)WordPress.org, 15 Nov 2026
- Requires WordPress
- 6.4WordPress.org
- Tested up to WordPress
- 7.1.4WordPress.org
- Author
- Mohammed KaludiWordPress.org
- In the directory since
- 7 Feb 2016WordPress.org
Vulnerabilities in AMP for WP – Accelerated Mobile Pages
- In our list
- 3
- Published in the last 12 months
- 3
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-103908AMP for WP <= 1.1.18 - Authenticated (Subscriber+) Arbitrary Shortcode Execution via Author Biographical InfoMedium 5.4 6 Nov 2026
- CVE-2026-97019AMP for WP <= 1.1.17 - Unauthenticated Stored Cross-Site Scripting via 'headline-*' Shortcode AttributeHigh 7.2 28 Oct 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-120686