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.
References
Link | Resource |
---|---|
https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 | Exploit Third Party Advisory |
https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 | Third Party Advisory |
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 | Third Party Advisory |
Configurations
History
No history.
Information
Published : 2022-02-04 23:15
Updated : 2024-02-28 18:48
NVD link : CVE-2022-0381
Mitre link : CVE-2022-0381
CVE.ORG link : CVE-2022-0381
JSON object : View
Products Affected
embed_swagger_project
- embed_swagger
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')