GitHub Advisoryadvisory · npm

GHSA-wf7x-fh6w-34r6 Path Traversal in Ghost

HIGH Published 2023-05-05 Modified 2023-05-11 Official page ↗
Aliases
CVE-2023-32235
Ecosystem
npm
Packages
ghost
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-22
Reviewed
2023-05-05

Affected packages

• npm ghost: < 5.42.1 → fixed in 5.42.1

Description

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.

Related

Alias · CVE (1)

  • CVE-2023-32235 Ghost before 5.42.1 allows remote attackers to read arbitrary files within the active theme's folder via /assets/built%2F..%2F..%2F/… vulnerability

Weakness · CWE (1)

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness

References