Vulnerability CVE-2022-0381


Published: 2022-02-04   Modified: 2022-02-05

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.

Type:

CWE-79

(Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'))

CVSS2 => (AV:N/AC:M/Au:N/C:N/I:P/A:N)

CVSS Base Score
Impact Subscore
Exploitability Subscore
4.3/10
2.9/10
8.6/10
Exploit range
Attack complexity
Authentication
Remote
Medium
No required
Confidentiality impact
Integrity impact
Availability impact
None
Partial
None
Affected software
Embed swagger project -> Embed swagger 

 References:
https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3
https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381
https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59

Copyright 2024, cxsecurity.com

 

Back to Top