CVE-2023-6708CWE-79

SVG Support <= 2.5.7 - Authenticated (Author+) Cross-Site Scripting via SVG

Medium · published July 18, 2024

CVSS v3.1
5.4
EPSS
0%
Percentile
25.8
In the wild
Unconfirmed
What it is

The SVG Support plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the SVG upload feature in all versions up to, and including, 2.5.7 due to insufficient input sanitization and output escaping, even when the 'Sanitize SVG while uploading' feature is enabled. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Note that successful exploitation of this vulnerability requires the administrator to allow author-level users to upload SVG files. As of 2.5.6, SVG sanitization can still be bypassed by supplying a content-type other than image/svg+xml.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00336 · 25.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-07-18T02:38Z
EPSS history
Timeline
  • 18 JUL 02:38Z
    SVG Support <= 2.5.7 - Authenticated (Author+) Cross-Site Scripting via SVG
    cvelistv5