ADVISORIES

GitHub Advisory Database

GHSA-wf7x-fh6w-34r6

Path Traversal in Ghost

Details

Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2F..%2F..%2F/ directory traversal. This occurs in frontend/web/middleware/static-theme.js.

Affected packages

EcosystemPackageAffected versions
npmghost
All versions before 5.42.1 (fixed in 5.42.1)

References