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

medium Affects svg-support (WordPress plugin). Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

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

Package
svg-support (WordPress plugin) WordPress
Affected versions
>=2.5.0 and <2.5.2
Fixed in
2.5.2
Severity
medium  CVSS 6.4
Exploitation
not on CISA KEV · EPSS 0% (40.2th percentile)
Published
2022-11-16
Source
nvd

References

CWE-79
NVD recordsvg-support (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories