cve/2022/CVE-2022-0381.md

21 lines
1012 B
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-0381](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0381)
![](https://img.shields.io/static/v1?label=Product&message=Embed%20Swagger&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.0.0%3C%3D%201.0.0%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-79%20Cross-site%20Scripting%20(XSS)&color=brighgreen)
### Description
The Embed Swagger WordPress plugin is vulnerable to Reflected Cross-Site Scripting due to insufficient escaping/sanitization and validation via the url parameter found in the ~/swagger-iframe.php file which allows attackers to inject arbitrary web scripts onto the page, in versions up to and including 1.0.0.
### POC
#### Reference
- https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/ARPSyndicate/kenzer-templates
- https://github.com/BugBlocker/lotus-scripts
- https://github.com/rusty-sec/lotus-scripts