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
4.6/10

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

EPSS Probability
0.33%

24.6th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
HexoHexo>= 0.0.1, <= 5.4.0

References

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.

Are you affected by CVE-2021-25987?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST