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.
References
Link | Resource |
---|---|
https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200 | Patch Third Party Advisory |
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987 | Third Party Advisory |
https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200 | Patch Third Party Advisory |
https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987 | Third Party Advisory |
Configurations
History
21 Nov 2024, 05:55
Type | Values Removed | Values Added |
---|---|---|
CVSS |
v2 : v3 : |
v2 : 1.9
v3 : 5.0 |
References | () https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200 - Patch, Third Party Advisory | |
References | () https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987 - Third Party Advisory |
Information
Published : 2021-11-30 14:15
Updated : 2024-11-21 05:55
NVD link : CVE-2021-25987
Mitre link : CVE-2021-25987
CVE.ORG link : CVE-2021-25987
JSON object : View
Products Affected
hexo
- hexo
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')