CVE-2023-31133
HIGH7.5EPSS 6.9%Ghost vulnerable to disclosure of private API fields
Published: 5/3/2023Modified: 5/20/2025
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`.
Affected packages (2)
- Bitnami/ghostfrom 0, < 5.46.1
- npm/ghostfrom 0, < 5.46.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2023-31133
- PATCHhttps://github.com/TryGhost/Ghost
- WEBhttps://github.com/TryGhost/Ghost/commit/b3caf16005289cc9909488391b4a26f3f4a66a90
- WEBhttps://github.com/TryGhost/Ghost/releases/tag/v5.46.1
- WEBhttps://github.com/TryGhost/Ghost/security/advisories/GHSA-r97q-ghch-82j9