CVE-2021-25987

Medium

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.

SeverityMedium
CVSS5.0
Exploit probability—
ProductHexo
PublishedNov 30, 2021
First seenNov 30, 2021

How to fix

Update
  • hexo6.0.0 or later

Affected products

ProductAffected versionsFixed in
hexo hexo0.0.1 ≤ v ≤ 5.4.0—
hexonpm0.0.1 ≤ v < 6.0.06.0.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-25987 · Hexo · Dark Radar