GHSA-q54r-r9pr-w7qv
Dashboard / Vulnerabilities / GHSA-q54r-r9pr-w7qv
Summary: Hexo Vulnerable to XSS
Details: 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: https://nvd.nist.gov/vuln/detail/CVE-2021-25987, https://github.com/hexojs/hexo/issues/4838, https://github.com/hexojs/hexo/pull/4750, https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200, https://github.com/hexojs/hexo, https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987
Affected packages
Package
Name: hexo
Purl: pkg:npm/hexo
Affected ranges
Type: SEMVER
Events:
Introduced- 0.0.1
Fixed -6.0.0
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
