CVE-2022-0381
Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting
MEDIUM 6.1EPSS 3.9%
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
- Embed Swagger
- CVSS v3.1 NVD
- 6.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - CVSS v2.0 NVD
- 4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N - EPSS
- 3.86% chance of exploitation in the next 30 days, 90th percentile
- Nuclei
- medium · CWE-79
- Published
- 2022-02-04
- Updated
- 2025-02-10
Proof-of-concept exploits (1)
Nuclei templates (1)
Security advisories
- https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59
- https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381