{"id":"CVE-2023-39584","aliases":["CVE-2023-39584","GHSA-x2jc-989c-47q4"],"related":[],"kind":"vulnerability","state":"published","title":"Hexo `include_code` has a path traversal","summary":"Hexo up to v7.0.0 (RC2) was discovered to contain an arbitrary file read vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Hexo up to v7.0.0 (RC2) was discovered to contain an arbitrary file read vulnerability.","source":"cvelist"},{"lang":"en","text":"Hexo up to v7.1.1 was discovered to contain an arbitrary file read vulnerability.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió que Hexo hasta v7.0.0 (RC2) contenía una vulnerabilidad de lectura de archivos arbitraria.","source":"nvd"}],"published":"2023-09-08T00:00:00.000Z","modified":"2026-06-17T06:12:36.170Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"7.2.0"}],"ecosystem":"npm","package":"hexo","purl":"pkg:npm/hexo","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"6.3.0"},{"status":"affected","version":"7.0.0"},{"status":"affected","version":"7.0.0"}],"vendor":"hexo","product":"hexo","cpe":"cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/hexojs/hexo/blob/a3e68e7576d279db22bd7481914286104e867834/lib/plugins/tag/include_code.js#L49","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/hexojs/hexo/issues/5250","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"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","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39584","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/hexojs/hexo/pull/5251","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hexojs/hexo/commit/b5b63caee27256d71a0cee8954c22375ec885d07","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/hexojs/hexo","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/hexojs/hexo/blob/cefee921153ba597316457f4fedf7b87b6516917/lib/plugins/tag/include_code.ts#L50","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-09-26T18:03:25.225Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-39584","url":"https://www.cve.org/CVERecord?id=CVE-2023-39584","licence":"CVE Terms of Use","modified":"2024-09-26T18:04:20.237Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x2jc-989c-47q4","url":"https://github.com/advisories/GHSA-x2jc-989c-47q4","licence":"CC-BY-4.0","modified":"2025-09-05T13:29:14.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-39584","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-39584","licence":"Public domain","modified":"2026-06-17T06:12:36.170Z"}],"updatedAt":"2026-11-25T22:58:27.764Z","epss":{"score":0.34538,"percentile":0.98451,"date":"2026-12-01T12:00:22.000Z"}}