Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ghost
  4. ›
  5. CVE-2023-40028

CVE-2023-40028: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

August 15, 2023 (updated August 23, 2023)

Ghost is an open source content management system. Versions prior to 5.59.1 are subject to a vulnerability which allows authenticated users to upload files that are symlinks. This can be exploited to perform an arbitrary file read of any file on the host operating system. Site administrators can check for exploitation of this issue by looking for unknown symlinks within Ghost’s content/ folder. Version 5.59.1 contains a fix for this issue. All users are advised to upgrade. There are no known workarounds for this vulnerability.

References

  • github.com/TryGhost/Ghost/commit/690fbf3f7302ff3f77159c0795928bdd20f41205
  • github.com/TryGhost/Ghost/security/advisories/GHSA-9c9v-w225-v5rg
  • github.com/advisories/GHSA-9c9v-w225-v5rg
  • nvd.nist.gov/vuln/detail/CVE-2023-40028

Code Behaviors & Features

Detect and mitigate CVE-2023-40028 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 5.59.1

Fixed versions

  • 5.59.1

Solution

Upgrade to version 5.59.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-59: Improper Link Resolution Before File Access ('Link Following')

Source file

npm/ghost/CVE-2023-40028.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.