CVE-2022-2299
WordPress vulnerability analysis and mitigation

Overview

CVE-2022-2299 is a stored Cross-Site Scripting (XSS) vulnerability affecting the WordPress plugin 'Allow SVG Files' versions 1.1 and below. The vulnerability was discovered by Luan Pedersini and publicly disclosed on July 4, 2022. The issue affects WordPress installations with the vulnerable plugin installed (WPScan).

Technical details

The vulnerability stems from improper sanitization of uploaded SVG files in the plugin. Users with author-level privileges or higher can upload malicious SVG files containing XSS payloads through the WordPress Media library. The vulnerability has been assigned a CVSS score of 4.8 (medium severity) and is classified under CWE-79 (WPScan).

Impact

When exploited, this vulnerability allows attackers with author-level access to upload SVG files containing malicious JavaScript code. The XSS payload gets executed when users access the uploaded SVG file directly through the WordPress media URL structure (WPScan).

Mitigation and workarounds

As of the last update, there is no known fix available for this vulnerability. Site administrators using the affected plugin should consider either removing the plugin or implementing additional security controls to restrict SVG file uploads (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14478HIGH7.5
  • demo-importer-plus
NoYesJan 17, 2026
CVE-2025-8615MEDIUM6.4
  • cubewp-framework
NoYesJan 17, 2026
CVE-2025-14078MEDIUM5.3
  • woocommerce-for-paygent-payment-main
NoYesJan 17, 2026
CVE-2025-12129MEDIUM5.3
  • cubewp-framework
NoYesJan 17, 2026
CVE-2026-0725MEDIUM4.4
  • integrate-dynamics-365-crm
NoYesJan 17, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management