Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-25987

18
FAUCET Score

CVE-2021-25987 is a stored Cross-Site Scripting (XSS) vulnerability affecting Hexo versions 0.0.1 to 5.4.0, where the post "body" and "tags" fields fail to sanitize malicious JavaScript during web page generation. This allows a local, unprivileged attacker to inject arbitrary code. Rated as MEDIUM severity with a CVSS score of 4.6, the vulnerability requires local access and user interaction, with potential impacts on confidentiality and integrity. There is currently no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage.

Impacted Technologies

VendorProductVersion(s)CPE
>= 0.0.1, <= 5.4.0CPE matchmatch criteria
cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*
<= 5.4.0CPE match
cpe:2.3:a:hexo:hexo:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

5.0MEDIUM

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
1.8
Impact Score
2.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.33%
Probability of exploitation in next 30 days
EPSS Percentile
25.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0033 is in the 64th percentile among its peer group of 381 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: hexoFixed in: 6.0.0

Vendor Advisories (1)

npmGHSA-q54r-r9pr-w7qvmedium

Hexo Vulnerable to XSS

Dec 1, 2021

References

github.com / hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200
PatchThird Party Advisory
whitesourcesoftware.com / vulnerability-database/CVE-2021-25987
Third Party Advisory