Live threats

All CVEs / Embed Swagger Project

CVE-2022-0381Embed Swagger Project Embed Swagger

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
3.6%
probability of exploitation in 30 days · percentile 90
Auth required
No
Published
Feb 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Embed Swagger.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
embed_swagger_projectembed_swagger≤ 1.0.0

Official sources

References

Links published by the sources. Open them with care.