Exploitation Summary
CVE-2022-0381 has a Nuclei detection template available — see the Nuclei card below for the Shodan/FOFA recon queries.
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.
Nuclei Templates (1)
WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting
MEDIUMby edoardottt
References (3)
Core 3
Core References
Third Party Advisory x_refsource_misc
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381
Exploit, Third Party Advisory x_refsource_misc
https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3
Third Party Advisory x_refsource_misc
https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59
Scores
CVSS v3
6.1
EPSS
0.0386
EPSS Percentile
88.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
no
Technical Impact
partial
Details
CWE
CWE-79
Status
published
Products (1)
embed_swagger_project/embed_swagger
< 1.0.0
Published
Feb 04, 2022
Tracked Since
Feb 18, 2026