{ "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": [ { "refsource": "MISC", "url": "https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381", "name": "https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381" }, { "refsource": "MISC", "url": "https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3", "name": "https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3" }, { "refsource": "MISC", "url": "https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59", "name": "https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59" } ] }, "solution": [ { "lang": "eng", "value": "Uninstall plugin from site." } ], "source": { "discovery": "EXTERNAL" } }