Cross-site scriptingin CVE-2022-0381.
Weaponized: a Nuclei exploit is public.
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.
- Uninstall plugin from site.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Jan 2022CVE ID reserved by Wordfence.
- 4 Feb 2022Published in the CVE List.
- 10 Feb 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Nuclei). CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Same weakness: Cross-site scripting
- www.wordfence.com x_refsource_MISC
- gist.github.com x_refsource_MISC
- plugins.trac.wordpress.org x_refsource_MISC
Patchminder. CVE-2022-0381: Cross-site scripting in CVE-2022-0381. https://patchminder.com/cve/cve-2022-0381/ (accessed 5 December 2026).