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

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 34.5%, higher than 98% of CVEs (2026-12-01)
- Published: 2023-09-08T00:00:00.000Z
- Modified: 2026-06-17T06:12:36.170Z
- Also known as: GHSA-x2jc-989c-47q4
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

## Description

Hexo up to v7.0.0 (RC2) was discovered to contain an arbitrary file read vulnerability.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- hexo (npm): before 7.2.0
- hexo hexo: up to 6.3.0; 7.0.0

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/hexojs/hexo/blob/a3e68e7576d279db22bd7481914286104e867834/lib/plugins/tag/include_code.js#L49> (third-party-advisory, web)
- <https://github.com/hexojs/hexo/issues/5250> (issue-tracking, third-party-advisory, web)
- <https://www.gem-love.com/2023/07/25/hexo%E5%8D%9A%E5%AE%A2%E4%BB%BB%E6%84%8F%E6%96%87%E4%BB%B6%E8%AF%BB%E5%8F%96%E5%92%8C%E4%BB%A3%E7%A0%81%E6%89%A7%E8%A1%8C%E6%BC%8F%E6%B4%9E/#undefined> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39584> (advisory)
- <https://github.com/hexojs/hexo/pull/5251> (web)
- <https://github.com/hexojs/hexo/commit/b5b63caee27256d71a0cee8954c22375ec885d07> (web)
- <https://github.com/hexojs/hexo> (package)
- <https://github.com/hexojs/hexo/blob/cefee921153ba597316457f4fedf7b87b6516917/lib/plugins/tag/include_code.ts#L50> (web)

## Sources

- CVE List: [CVE-2023-39584](https://www.cve.org/CVERecord?id=CVE-2023-39584), CVE Terms of Use, modified 2024-09-26
- GitHub Advisory Database: [GHSA-x2jc-989c-47q4](https://github.com/advisories/GHSA-x2jc-989c-47q4), CC-BY-4.0, modified 2025-09-05
- NVD: [CVE-2023-39584](https://nvd.nist.gov/vuln/detail/CVE-2023-39584), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-39584 · Whole record: https://cve.day/CVE-2023-39584.json · Rebuilt by cve.day 2026-11-25T22:58:27.764Z
