Read the docs
TI-2021-07993 Aliases CVE-2021-25987GHSA-q54r-r9pr-w7qv

Hexo - Stored XSS

Priority MEDIUM 56CWE-79Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00339 27th percentileScored 2026-11-07
Fix Fixed hexo (npm): 6.0.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
HexoHexoup to 5.4.0; next of 0.0.1 and later—No fix listedCNA
—hexo (npm)0.0.1 to before 6.0.06.0.0Patch availableGHSA-q54r-r9pr-w7qv
  • Hexo VendorHexo Affected up to 5.4.0; next of 0.0.1 and later Fixed in — No fix listed CNA
  • hexo (npm) Vendor— Affected 0.0.1 to before 6.0.0 Fixed in 6.0.0 Patch available GHSA-q54r-r9pr-w7qv

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*0.0.1 – 5.4.0VulnerableHexo
  • cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:* Versions 0.0.1 – 5.4.0 Vulnerable ·Hexo

Remediation

  • Fix · GHSA-q54r-r9pr-w7qv hexo (npm) Fixed in 6.0.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-25987
  2. 2026-10-03 Alias added: GHSA-q54r-r9pr-w7qv

References

  • TI-2023-20692 Hexo up to v7.0.0 (RC2) was discovered to contain an arbitrary file read vulnerability. CVSS 3.1HIGH 7.5

Sources