{"id":"CVE-2022-0381","published":"2022-02-04T22:29:25Z","modified":"2025-02-10T14:54:18Z","title":"Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting","vendor":"Embed Swagger","product":"Embed Swagger","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04011,"percentile":0.90803,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381","tags":["x_refsource_MISC"]},{"url":"https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3","tags":["x_refsource_MISC"]},{"url":"https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59","tags":["x_refsource_MISC"]}],"priority":{"score":27.4,"factors":[{"name":"EPSS percentile","points":18.16},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.27}]},"exploitSources":{"nuclei":[{"id":"CVE-2022-0381","name":"WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting","severity":"medium","path":"http/cves/2022/CVE-2022-0381.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-0381.yaml"}],"provenance":"source"},"vendorSlug":"embed-swagger","affectedVersions":[{"vendor":"Embed Swagger","product":"Embed Swagger","versions":[">= 1.0.0, <= 1.0.0"]}],"solutions":{"items":["Uninstall plugin from site."],"from":"CVE.org CNA","provenance":"source"},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-10T14:54:11.803709Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"The Embed Swagger WordPress plugin, up to and including version 1.0.0, fails to properly escape or validate the url parameter in its swagger-iframe.php file, leaving it open to reflected cross-site scripting. An unauthenticated remote attacker can get a victim to open a crafted link, causing arbitrary web script to run in the victim's browser on the affected page, provided the victim interacts with the link.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:20:04Z"},"euvd":{"id":"EUVD-2022-15530","exploited":false,"provenance":"source"}}