GHSA-r97q-ghch-82j9
Ghost vulnerable to information disclosure of private API fields
Quick fix
GHSA-r97q-ghch-82j9 — ghost: upgrade to the fixed version with the command below.
npm install ghost@5.46.1Details
### Impact
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. We 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. Immediate action should be taken to secure your site - see patches and workarounds below.
### Patches
v5.46.1 contains a fix for this issue.
### Workarounds
Add a block for requests to `/ghost/api/content/*` where the `filter` query parameter contains `password` or `email`.
### For more information
If you have any questions or comments about this advisory:
* Email us at [security@ghost.org](mailto:security@ghost.org)
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/TryGhost/Ghost/security/advisories/GHSA-r97q-ghch-82j9[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-31133[ADVISORY]
- https://github.com/TryGhost/Ghost/commit/b3caf16005289cc9909488391b4a26f3f4a66a90[WEB]
- https://github.com/TryGhost/Ghost[PACKAGE]
- https://github.com/TryGhost/Ghost/releases/tag/v5.46.1[WEB]