Security mailing lists by PureSourceCode

CVE-2021-25987

MEDIUM 4.6CVSS 3.1

Hexo Vulnerable to XSS

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.

Published
30 Nov 2021
Last modified
17 Jun 2026
Assigned by
vulnerabilitylab@mend.io
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-q54r-r9pr-w7qv
Sources
NVDJSONOSV GHSA-q54r-r9pr-w7qvJSON

Scores

SourceScored byVersionScoreVector / decision
NVD vulnerabilitylab@mend.io (Secondary) CVSS 3.1 MEDIUM 5.0 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 1.9 AV:L/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD hexo hexo
cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*
>= 0.0.1, <= 5.4.0
OSV npm hexo >= 0.0.1, < 6.0.0 6.0.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 30 Nov 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 1 Dec 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.