CVE Catalog

CVE-2026-0627

MediumCVSS 6.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.22%

13th 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
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