All CVEs / Embed Swagger Project
CVE-2022-0381Embed Swagger Project Embed Swagger
Medium 6.1 No auth needed
Follow: this CVE · Embed Swagger Project · Embed Swagger Project Embed Swagger We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Embed Swagger.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| embed_swagger_project | embed_swagger | ≤ 1.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Exploit Third Party Advisory
- plugins.trac.wordpress.org Third Party Advisory
- www.wordfence.com Third Party Advisory