.. / CVE-2022-0381

Exploit for WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting (CVE-2022-0381)

Description:

WordPress Embed Swagger plugin 1.0.0 and prior contains a reflected cross-site scripting vulnerability 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.

Nuclei Template

View the template here CVE-2022-0381.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-0381.yaml
Copy

References:

https://github.com/ARPSyndicate/cvemon
https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3
https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381
https://nvd.nist.gov/vuln/detail/CVE-2022-0381