Description
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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-01-08: | Disclosed |
Credits
andrea bocchetti
References
www.wordfence.com/...-3b47-4336-a3aa-6b09f3911926?source=cve
plugins.trac.wordpress.org/...s/trunk/templates/features.php
plugins.trac.wordpress.org/.../1.1.10/templates/features.php
plugins.trac.wordpress.org/...unk%2Ftemplates%2Ffeatures.php