Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Embed Swagger Project | Embed Swagger | <= 1.0.0 |
Related Weaknesses (CWE)
References
- https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3ExploitThird Party Advisory
- https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.phThird Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381Third Party Advisory
- https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3ExploitThird Party Advisory
- https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.phThird Party Advisory
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381Third Party Advisory
FAQ
What is CVE-2022-0381?
CVE-2022-0381 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2022-0381?
CVE-2022-0381 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-0381?
Check the references section above for vendor advisories and patch information. Affected products include: Embed Swagger Project Embed Swagger.