Files
CVEs-PoC/2021/CVE-2021-25922.md
T
2025-09-29 21:09:30 +02:00

19 lines
1.0 KiB
Markdown

### [CVE-2021-25922](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-25922)
![](https://img.shields.io/static/v1?label=Product&message=openemr&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=4.2.0%2C%204.2.0.3%2C%204.2.1%2C%204.2.2%2C%205.0.0%2C%205.0.0.5%2C%205.0.0.6%2C%205.0.1%2C%205.0.1.1%2C%205.0.1.2%2C%205.0.1.3%2C%205.0.1.4%2C%205.0.1.5%2C%205.0.1.6%2C%205.0.1.7%2C%205.0.2%2C%205.0.2.1%2C%205.0.2.2%2C%205.0.2.3%2C%205.0.2.4%2C%206.0.0%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-Site-Scripting&color=brightgreen)
### Description
In OpenEMR, versions 4.2.0 to 6.0.0 are vulnerable to Reflected Cross-Site-Scripting (XSS) due to user input not being validated properly. An attacker could trick a user to click on a malicious url and execute malicious code.
### POC
#### Reference
- https://www.whitesourcesoftware.com/vulnerability-database/CVE-2021-25922
#### Github
- https://github.com/20142995/nuclei-templates
- https://github.com/cyb3r-w0lf/nuclei-template-collection