CVE-2021-25987
MEDIUMCVSS 4.6/10EPSS 0.33%
Last modified
CVE-2021-25987 is a medium-severity vulnerability rated 4.6/10 on the CVSS scale. 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. EPSS estimates a 0.33% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Hexo | Hexo | >= 0.0.1, <= 5.4.0 |
References
- https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200Patch, Third Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987Third Party Advisory
- https://github.com/hexojs/hexo/commit/5170df2d3fa9c69e855c4b7c2b084ebfd92d5200Patch, Third Party Advisory
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-25987?
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.
How severe is CVE-2021-25987?
CVE-2021-25987 has a CVSS score of 4.6/10 (MEDIUM severity). The EPSS model estimates a 0.33% probability of exploitation in the next 30 days.
How do I fix CVE-2021-25987?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-25981In Talkyard, regular versions v0.2021.20 through v0.2021.33 …9.8
- CVE-2021-25982In Factor (App Framework & Headless CMS) forum plugin, versi…6.1
- CVE-2021-25983In Factor (App Framework & Headless CMS) forum plugin, versi…6.1
- CVE-2021-25984In Factor (App Framework & Headless CMS) forum plugin, versi…6.1
- CVE-2021-25985In Factor (App Framework & Headless CMS) v1.0.4 to v1.8.30, …9.8
- CVE-2021-25986In Django-wiki, versions 0.0.20 to 0.7.8 are vulnerable to S…5.4
- CVE-2021-25988In “ifme”, versions 1.0.0 to v7.31.4 are vulnerable against …5.4
- CVE-2021-25989In “ifme”, versions 1.0.0 to v7.31.4 are vulnerable against …5.4
- CVE-2021-25990In “ifme”, versions v7.22.0 to v7.31.4 are vulnerable agains…5.4
- CVE-2021-25991In Ifme, versions v5.0.0 to v7.32 are vulnerable against an …7.3
- CVE-2021-25992In Ifme, versions 1.0.0 to v.7.33.2 don’t properly invalidat…9.8
- CVE-2021-25993In Requarks wiki.js, versions 2.0.0-beta.147 to 2.5.255 are …5.4
Are you affected by CVE-2021-25987?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
