CVE-2022-0381
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.
- Score
- CVSS 3.1 6.1 Medium
- Status
- Modified - security@wordfence.com
- Published
- 2022-02-04
- Last modified
- 2025-02-10
- Weaknesses
- CWE-79
Affected products
References
- https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3
- https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381