{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-0381","published":"2022-02-04T23:15:12.667000Z","last_modified":"2026-06-17T04:20:29.963000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:embed_swagger_project:embed_swagger:*:*:*:*:*:wordpress:*:*","part":"a","vendor":"embed_swagger_project","product":"embed_swagger","version_end_including":"1.0.0"}],"cpes_truncated":false,"vendors":["embed_swagger_project"],"products":["embed_swagger_project/embed_swagger"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"epss":{"score":0.03627,"percentile":0.90316,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-0381/","html_en":"/en/cve/CVE-2022-0381/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-0381","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-0381"},"untrusted":{"vendor_name":"Embed Swagger Project","product_name":"Embed Swagger","desc_en":"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":[{"untrusted_vendor":"Embed Swagger","untrusted_product":"Embed Swagger","versions":[]}],"references":[{"url":"https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3","tags":["Exploit","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59","tags":["Third Party Advisory"]},{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381","tags":["Third Party Advisory"]}]}}