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.
- CVSS
- 7.2High
- Chance of exploitation (EPSS)
- 0.40%
- Published
- Nov 18, 2026
- In the news
- Not yet
What to do
A serious cross-site scripting flaw in Mohammed Kaludi Amp For Wp Accelerated Mobile Pages that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Mohammed Kaludi Amp For Wp Accelerated Mobile Pages
- Through 1.1.19
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-120686 published (CVSS 7.2) (Nov 18, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Nov 18, 2026
- CVECVE-2026-120686 published (CVSS 7.2)CVE Program · 12:17 UTC
References 8
- plugins.trac.wordpress.org /browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L77
- plugins.trac.wordpress.org /browser/accelerated-mobile-pages/tags/1.1.19/components/comments/comments.php#L89
- plugins.trac.wordpress.org /browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L274
- plugins.trac.wordpress.org /browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L275
- plugins.trac.wordpress.org /browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L292
- plugins.trac.wordpress.org /browser/accelerated-mobile-pages/tags/1.1.19/includes/features/functions.php#L322
- plugins.trac.wordpress.org /changeset?reponame=&old=3787270%40accelerated-mobile-pages&new=3787270%40accelerated-mobile-pages
- www.wordfence.com /threat-intel/vulnerabilities/id/76b54fdf-9a41-47b9-8579-0ecbfc3663c0?source=cve