{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2021-25987","published":"2021-11-30T14:15:07.530000Z","last_modified":"2026-06-17T03:42:44.230000Z","status":"Modified","cvss":{"version":"3.1","score":4.6,"severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*","part":"a","vendor":"hexo","product":"hexo","version_start_including":"0.0.1","version_end_including":"5.4.0"}],"cpes_truncated":false,"vendors":["hexo"],"products":["hexo/hexo"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00339,"percentile":0.29323,"date":"2026-12-01","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-q54r-r9pr-w7qv","ecosystem":"npm","name":"hexo","purl":"pkg:npm/hexo","ranges":[{"introduced":"0.0.1","fixed":"6.0.0"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":28,"links":{"html_es":"/es/cve/CVE-2021-25987/","html_en":"/en/cve/CVE-2021-25987/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-25987","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-25987"},"untrusted":{"vendor_name":"Hexo","product_name":"Hexo","desc_en":"Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post “body” and “tags” don’t sanitize malicious javascript during web page generation. Local unprivileged attacker can inject arbitrary code.","affected":[{"untrusted_vendor":"Hexo","untrusted_product":"Hexo","versions":[]}],"references":[{"url":"https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200","tags":["Patch","Third Party Advisory"]},{"url":"https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987","tags":["Third Party Advisory"]}]}}