CVE-2022-0381

published 4 Feb 2022 · updated 10 Feb 2025

Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting

7.1HighCVSS 6.1EPSS 4%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 4%. No fixed version is recorded.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Embed Swagger>=1.0.0 <=1.0.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-0381 severity on Zeptric[![CVE-2022-0381](https://zeptric.io/badge/cve/CVE-2022-0381.svg)](https://zeptric.io/cve/CVE-2022-0381)