{"containers":{"cna":{"affected":[{"product":"Embed Swagger","vendor":"Embed Swagger","versions":[{"lessThanOrEqual":"1.0.0","status":"affected","version":"1.0.0","versionType":"custom"}]}],"credits":[{"lang":"en","value":"Muhammad Zeeshan (Xib3rR4dAr)"}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79 Cross-site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2022-02-04T22:29:25.000Z","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","shortName":"Wordfence"},"references":[{"tags":["x_refsource_MISC"],"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"}],"solutions":[{"lang":"en","value":"Uninstall plugin from site."}],"source":{"discovery":"EXTERNAL"},"title":"Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting","x_generator":{"engine":"Vulnogram 0.0.9"},"x_legacyV4Record":{"CVE_data_meta":{"AKA":"Wordfence","ASSIGNER":"security@wordfence.com","ID":"CVE-2022-0381","STATE":"PUBLIC","TITLE":"Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"Embed Swagger","version":{"version_data":[{"version_affected":"<=","version_name":"1.0.0","version_value":"1.0.0"}]}}]},"vendor_name":"Embed Swagger"}]}},"credit":[{"lang":"eng","value":"Muhammad Zeeshan (Xib3rR4dAr)"}],"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"generator":{"engine":"Vulnogram 0.0.9"},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79 Cross-site Scripting (XSS)"}]}]},"references":{"reference_data":[{"name":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381","refsource":"MISC","url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381"},{"name":"https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3","refsource":"MISC","url":"https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3"},{"name":"https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59","refsource":"MISC","url":"https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59"}]},"solution":[{"lang":"en","value":"Uninstall plugin from site."}],"source":{"discovery":"EXTERNAL"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T23:25:40.242Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59"}]},{"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-10T14:54:11.803709Z","id":"CVE-2022-0381","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-02-10T14:54:18.160Z"}}]},"cveMetadata":{"assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","assignerShortName":"Wordfence","cveId":"CVE-2022-0381","datePublished":"2022-02-04T22:29:25.000Z","dateReserved":"2022-01-26T00:00:00.000Z","dateUpdated":"2025-02-10T14:54:18.160Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}