CVE-2021-25987

Hexo - Stored XSS

MEDIUM
4.6
CVSS Score
Published: November 30, 2021 at 01:50 PM UTC
Updated: June 17, 2026 at 03:42 AM UTC
1 product affected across 1 vendorHexo

Using Hexo by Hexo?

Get instant alerts when new vulnerabilities affect Hexo - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM4.6
Exploit prediction
EPSS 0.3%
SSVC
PoC

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v ≥ next of 0.0.1v ≤ 5.4.00.0.1 ≤ v ≤ 5.4.0next of 0.0.1

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card