CVE-2023-39584
HIGH 7.5CVSS 3.1Hexo `include_code` has a path traversal
Hexo up to v7.0.0 (RC2) was discovered to contain an arbitrary file read vulnerability.
- Published
- 8 Sep 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-22
- Also known as
- GHSA-x2jc-989c-47q4
- Sources
- NVDJSONOSV GHSA-x2jc-989c-47q4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | hexo | hexocpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:* |
<= 6.3.0 | |
| NVD | hexo | hexocpe:2.3:a:hexo:hexo:7.0.0:rc1:*:*:*:node.js:*:* |
= 7.0.0 | |
| NVD | hexo | hexocpe:2.3:a:hexo:hexo:7.0.0:rc2:*:*:*:node.js:*:* |
= 7.0.0 | |
| OSV | npm | hexo | < 7.2.0 | 7.2.0 |
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
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 8 Sep 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 8 Sep 2023)