{"id":"CVE-2022-0381","aliases":["EUVD-2022-15530","GHSA-rv3f-j8c3-vgp8"],"status":"published","title":"Embed Swagger \u003c= 1.0.0 Reflected Cross-Site Scripting","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.","severity":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.03865,"percentile":0.90262,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-02-04T22:29:25Z","modified":"2026-06-17T04:20:29Z","exploits":[{"source":"nuclei","id":"CVE-2022-0381","title":"WordPress Embed Swagger \u003c=1.0.0 - Cross-Site Scripting","type":"detection template","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0381.yaml"}],"products":[{"vendor":"embed swagger","product":"embed swagger"},{"vendor":"embed_swagger_project","product":"embed_swagger"}],"references":[{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59","tags":["x_refsource_MISC","x_transferred","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0381"},{"url":"https://github.com/advisories/GHSA-rv3f-j8c3-vgp8"}],"sources":{"cve":[{"id":"CVE-2022-0381","title":"Embed Swagger \u003c= 1.0.0 Reflected Cross-Site Scripting","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.","status":"published","published":"2022-02-04T22:29:25Z","modified":"2025-02-10T14:54:18.16Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:41.34666Z"}],"euvd":[{"id":"EUVD-2022-15530","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.","status":"published","published":"2022-02-04T22:29:25Z","modified":"2025-02-10T14:54:18Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:04:01.319038Z"}],"ghsa":[{"id":"GHSA-rv3f-j8c3-vgp8","title":"The Embed Swagger WordPress plugin is vulnerable to Reflected Cross-Site Scripting due to...","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.","status":"published","published":"2022-02-11T00:01:19Z","modified":"2023-02-03T05:05:41Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:53:46.857381Z"}],"nvd":[{"id":"CVE-2022-0381","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.","status":"published","published":"2022-02-04T23:15:12.667Z","modified":"2026-06-17T04:20:29.963Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:11.52734Z"}]}}
