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

CVE-2023-39584: Hexo `include_code` has a path traversal

September 8, 2023 (updated September 5, 2025)

Hexo up to v7.1.1 was discovered to contain an arbitrary file read vulnerability.

References

  • github.com/advisories/GHSA-x2jc-989c-47q4
  • github.com/hexojs/hexo
  • github.com/hexojs/hexo/blob/a3e68e7576d279db22bd7481914286104e867834/lib/plugins/tag/include_code.js
  • github.com/hexojs/hexo/blob/cefee921153ba597316457f4fedf7b87b6516917/lib/plugins/tag/include_code.ts
  • github.com/hexojs/hexo/commit/b5b63caee27256d71a0cee8954c22375ec885d07
  • github.com/hexojs/hexo/issues/5250
  • github.com/hexojs/hexo/pull/5251
  • nvd.nist.gov/vuln/detail/CVE-2023-39584

Code Behaviors & Features

Detect and mitigate CVE-2023-39584 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 7.2.0

Fixed versions

  • 7.2.0

Solution

Upgrade to version 7.2.0 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Source file

npm/hexo/CVE-2023-39584.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Mon, 22 Sep 2025 12:18:49 +0000.