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.
{
"extracted_events": [
{
"cpe": "cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0.0.1"
},
{
"last_affected": "5.4.0"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "5170df2d3fa9c69e855c4b7c2b084ebfd92d5200"
}
],
"source": "REFERENCES_COMMIT"
}
]
}