Skip to content

CVE-2021-25987 Hexo - Stored XSS

MediumCVSS 4.6 EPSS 0.34%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

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.

Upgrade path

2 packages: 1 fixed, 1 partially fixed.

PackageAffectedFixed inStatus
hexo <= 5.4.0; >= 0.0.1, <= 5.4.0; >= next of 0.0.1 after 5.4.0 Partially fixed
npm hexo(npm) >= 0.0.1, < 6.0.0; >= 0.0.1, <= 5.4.0 6.0.0 Fixed

Affected products

ProductAffected versionsFixed in
npm hexo(npm) >= 0.0.1, <= 5.4.0 No fix listed
hexo >= 0.0.1, <= 5.4.0 No fix listed
hexo <= 5.4.0 No fix listed
hexo >= next of 0.0.1 No fix listed
npm hexo(npm) >= 0.0.1, < 6.0.0 6.0.0

References