CVE-2022-0381
Embed Swagger Project Embed Swagger vulnerability
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 products
Embed Swagger. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Embed Swagger Project Embed Swagger runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 · Exploit
- plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 · Third Party Advisory
- www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-0381
- cve.org/CVERecord?id=CVE-2022-0381
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.