XSS in Benbodhi Svg Support
CVE-2022-4022
The SVG Support plugin for WordPress defaults to insecure settings in version 2.5 and 2.5.1. SVG files containing malicious javascript are not sanitized. While version 2.5 adds the ability to sanitize image as they are uploaded, the plugin defaults to disable sanitization and does not restrict SVG upload to only administrators. This allows authenticated attackers, with author-level privileges and higher, to upload malicious SVG files that can be embedded in posts and pages by higher privileged users. Additionally, the embedded JavaScript is also triggered on visiting the image URL, which allows an attacker to execute malicious code in browsers visiting that URL.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.004 (36.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 37th percentile — 36.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000
Affected products
- Benbodhi Svg Support — versions 2.5, 2.5.1
- Benbodhi Svg Support
Weakness classification (CWE)
Public proof-of-concept exploits
References
- plugins.trac.wordpress.org/changeset (Patch, Third Party Advisory)
- www.wordfence.com/vulnerability-advisories-continued/ (Third Party Advisory)
Frequently asked questions
- What is CVE-2022-4022?
- CVE-2022-4022 is a medium-severity vulnerability in Benbodhi Svg Support, classified under Cross-site Scripting. CVSS score: 6.4/10. Published 2022-11-16.
- How severe is CVE-2022-4022?
- Medium severity. CVSS v3 base score is 6.4 out of 10.
- Is CVE-2022-4022 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.