XSS in Embed Swagger
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.039 (89.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Embed Swagger — versions 1.0.0
- Embed_swagger_project Embed_swagger
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@wordfence.com (Third Party Advisory, x_refsource_MISC)
- security@wordfence.com (Exploit, Third Party Advisory, x_refsource_MISC)
- security@wordfence.com (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-0381?
- CVE-2022-0381 is a medium-severity vulnerability in Embed Swagger, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2022-02-04.
- How severe is CVE-2022-0381?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2022-0381 known to be exploited?
- 6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.