Description
WordPress Plugin Embed Swagger is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin Embed Swagger version 1.0.0 is vulnerable.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
Related Vulnerabilities
UAParser.js Inclusion of Functionality from Untrusted Control Sphere Vulnerability (CVE-2021-4229)
WordPress Plugin BSK PDF Manager Multiple SQL Injection Vulnerabilities (1.3.2)
Roundcube Cross-site Request Forgery (CSRF) Vulnerability (CVE-2016-4069)
WordPress Plugin Mass Pages/Posts Creator Cross-Site Scripting (1.2.2)
CakePHP Permissions, Privileges, and Access Controls Vulnerability (CVE-2012-4399)