Stored Cross-Site Scripting Vulnerability in AMP for WP Plugin by WordPress
CVE-2026-120686

7.2HIGH

Key Information:

Vendor

WordPress

Vendor
CVE Published:
18 November 2026

What is CVE-2026-120686?

The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to Stored Cross-Site Scripting through improperly handled comment content. This vulnerability affects versions up to and including 1.1.19. The plugin's output-buffer callback, ampforwp_the_content_filter_full(), applies dubious regular expressions to the complete AMP page output. Unfortunately, these regex patterns are unaware of HTML boundaries. As a result, it is possible for an attacker to craft a legitimate comment that, once approved by an administrator, can inject arbitrary web scripts. Such scripts will run whenever a user accesses the impacted page, posing a significant security risk.

Affected Version(s)

AMP for WP – Accelerated Mobile Pages 0 <= 1.1.19

References

CVSS V3.1

Score:
7.2
Severity:
HIGH
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Kohav
.