Advisory

GHSA-q54r-r9pr-w7qv

Also known as: CVE-2021-25987

Summary

Hexo Vulnerable to XSS

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-12-01 18:27 UTC
Modified
2023-11-08 04:05 UTC

Affected packages and fixes

hexo

npm · All systems

Affected

  • introduced 0.0.1, fixed 6.0.0 (semver)

Fixed versions

6.0.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences