CVE-2026-0627
MediumCVSS 6.4Exploitation Probability (EPSS)
Low risk13th percentile - higher than 13% of all known CVEs
Summary
The AMP for WP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG file uploads in all versions up to, and including, 1.1.10. This is due to insufficient sanitization of SVG file content that only removes `<script>` tags while allowing other XSS vectors such as event handlers (onload, onerror, onmouseover), foreignObject elements, and SVG animation attributes. An authenticated attacker with Author-level access or higher can inject arbitrary web scripts via malicious SVG file uploads that execute when a user views the uploaded file.
Risk Assessment
An attacker with an author account can upload a malicious SVG file that executes JavaScript in the browser of a user viewing the file, potentially leading to session theft or other attacks. The risk applies to sites with multiple authors or untrusted accounts.
Recommendation
Update the AMP for WP plugin to a version later than 1.1.10 or remove it if not used. Restrict SVG file uploads for low-privileged users and regularly review uploaded files.
Other vulnerabilities in AMP for WP
See all- CVE-2026-141066High
The AMP for WP plugin by Mohammed Kaludi before version 1.1.23 contains an improper neutralization of input during web page generation (cross-site scripting) vulnerability that allows stored XSS. This issue affects all versions from n/a before 1.1.23.
- CVE-2026-135037High
The AMP for WP plugin (Mohammed Kaludi) for WordPress contains a Stored XSS vulnerability due to improper input neutralization during web page generation. The issue affects versions up to and including 1.1.21.
- CVE-2026-103908Medium
The AMP for WP – Accelerated Mobile Pages plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.1.18. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for authenticated attackers, with custom-level access and above, to execute arbitrary shortcodes. The vulnerable output block is gated by the 'ampforwp-cat-description' setting, which is enabled by default, meaning the vast majority of installations are affected without any additional configuration change.
- CVE-2026-83591High
The AMP for WP – Accelerated Mobile Pages plugin for WordPress (versions up to and including 1.1.16) is vulnerable to Stored Cross-Site Scripting via Comment Content through Regex Transformation due to insufficient input sanitization and output escaping. An unauthenticated attacker can inject arbitrary scripts into pages that execute when a user visits the injected page. The crafted payload uses only WordPress-permitted comment tags and attributes (an anchor with href and title), and the AMP sanitizer pipeline omits javascript: protocol blocking, so neither the comment save filter nor the AMP output stage removes the malicious URI introduced by the transformation.
Original NVD description (English source)
The AMP for WP plugin for WordPress is vulnerable to Stored Cross-Site Scripting via SVG file uploads in all versions up to, and including, 1.1.10. This is due to insufficient sanitization of SVG file content that only removes `<script>` tags while allowing other XSS vectors such as event handlers (onload, onerror, onmouseover), foreignObject elements, and SVG animation attributes. This makes it possible for authenticated attackers, with Author-level access and above, to inject arbitrary web scripts via malicious SVG file uploads that will execute whenever a user views the uploaded file.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

