Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Embed Swagger | Embed Swagger | 1.0.0 – ≤ 1.0.0 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting http/cves/2022/CVE-2022-0381.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.