All reports
Medium

Hexo Vulnerable to XSS

Affected versions

Affected versions
>= 0.0.1, <= 5.4.0
Fixed version
6.0.0

Exploitation

CVE-2021-25987

Probability of exploitation in the next 30 days: 0.34%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • renbaoshuo