Monitor vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
4.4
WordPress AMP Plugin Allows Attackers to Inject Malicious Code
CVE-2026-2027
Summary
The WordPress AMP Plugin allows attackers to inject malicious code into web pages if they have Administrator-level access. This only happens on multi-site WordPress installations where certain security settings are turned off. To fix this, update the plugin to a version newer than 1.0.49.
Original title
The AMP Enhancer – Compatibility Layer for Official AMP Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the AMP Custom CSS setting in all versions up to, and including, 1.0.49...
Original description
The AMP Enhancer – Compatibility Layer for Official AMP Plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the AMP Custom CSS setting in all versions up to, and including, 1.0.49 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with Administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
nvd CVSS3.1
4.4
Vulnerability type
CWE-79
Cross-site Scripting (XSS)
- https://gist.github.com/indonumberone/b373b970da88e87a218aed58d92ccfb2
- https://plugins.trac.wordpress.org/browser/amp-enhancer/tags/1.0.49/admin/amp-en...
- https://plugins.trac.wordpress.org/browser/amp-enhancer/trunk/admin/amp-enhancer...
- https://www.wordfence.com/threat-intel/vulnerabilities/id/14014260-e872-48d8-878...
Published: 14 Feb 2026 · Updated: 10 Mar 2026 · First seen: 6 Mar 2026