CVE-2021-25987

Hexo - Stored XSS

Published Nov 30, 2021 CVSS 3.1 · 5 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2021-2565 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.
Github GHSA Github GHSA GHSA-q54r-r9pr-w7qv Hexo Vulnerable to XSS
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
Mend
Published
Updated
Apr 30, 2025, 3:44 PM
Reserved
Jan 22, 2021, 12:00 AM
Status
Modified
Published
Nov 30, 2021, 2:15 PM
Modified
Jun 17, 2026, 3:42 AM