CVE-2021-25987

published 30 Nov 2021 · updated 30 Apr 2025

Hexo - Stored XSS

5.0MediumCVSS 5.0EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in unspecified.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Hexo<=5.4.0, >=next of 0.0.1 <unspecifiedunspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-25987 severity on Zeptric[![CVE-2021-25987](https://zeptric.io/badge/cve/CVE-2021-25987.svg)](https://zeptric.io/cve/CVE-2021-25987)