CVE-2022-0381
MEDIUM
6.1
CVSS 3.1
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.
Affected WordPress components
-
embed-swagger Plugin · embed-swaggerFrom 1.0.0 (including) to 1.0.0 (including)View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- Embed Swagger Embed Swagger — From 1.0.0 (including) to 1.0.0 (including)
- embed_swagger_project embed_swagger — Up to and including 1.0.0
References
- gist.github.com https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 Exploit, Third Party Advisory
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 Third Party Advisory
- www.wordfence.com https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 Third Party Advisory
- nvd.nist.gov Official NVD record