Read the docs

Stored cross-site scripting in AMP for WP plugin via comment content

Priority LOW 32CWE-79Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00428 28th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

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

VendorProductAffected versionsFixed inStatusSource
mohammed_kaludiAMP for WP – Accelerated Mobile Pagesup to 1.1.19—No fix listedCNA
  • 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

  1. 2026-11-18 Threatist record created from CVE-2026-120686
  2. 2026-11-18 Alias added: GHSA-fgmr-wj3h-cv66
  3. 2026-11-18 CISA SSVC decision points changed

References

  • 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
See all 17 →

Sources