Advisory

GHSA-r97q-ghch-82j9

Also known as: BIT-ghost-2023-31133, CVE-2023-31133

Summary

Ghost vulnerable to information disclosure of private API fields

Details

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:

Severity

High Basis: The source's own band: HIGH

Dates

Published
2023-05-03 21:57 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

ghost

npm · All systems

Affected

  • introduced 0, fixed 5.46.1 (semver)

Fixed versions

5.46.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences