Files
CVEs-PoC/2021/CVE-2021-25987.md
T
2024-05-25 21:48:12 +02:00

18 lines
766 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### [CVE-2021-25987](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25987)
![](https://img.shields.io/static/v1?label=Product&message=Hexo&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%3D%205.4.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
Hexo versions 0.0.1 to 5.4.0 are vulnerable against stored XSS. The post “body” and “tags” dont sanitize malicious javascript during web page generation. Local unprivileged attacker can inject arbitrary code.
### POC
#### Reference
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25987
#### Github
No PoCs found on GitHub currently.