CVE-2022-0381

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:embed_swagger_project:embed_swagger:*:*:*:*:*:wordpress:*:*

History

21 Nov 2024, 06:38

Type Values Removed Values Added
References () https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 - Exploit, Third Party Advisory () https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 - Exploit, Third Party Advisory
References () https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 - Third Party Advisory () https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 - Third Party Advisory
References () https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 - Third Party Advisory () https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 - Third Party Advisory

10 Feb 2022, 06:48

Type Values Removed Values Added
References (MISC) https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 - (MISC) https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 - Third Party Advisory
References (MISC) https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 - (MISC) https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 - Exploit, Third Party Advisory
References (MISC) https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 - (MISC) https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 - Third Party Advisory
CPE cpe:2.3:a:embed_swagger_project:embed_swagger:*:*:*:*:*:wordpress:*:*
CWE CWE-79
CVSS v2 : unknown
v3 : unknown
v2 : 4.3
v3 : 6.1

04 Feb 2022, 23:28

Type Values Removed Values Added
New CVE

Information

Published : 2022-02-04 23:15

Updated : 2024-11-21 06:38


NVD link : CVE-2022-0381

Mitre link : CVE-2022-0381

CVE.ORG link : CVE-2022-0381


JSON object : View

Products Affected

embed_swagger_project

  • embed_swagger
CWE
CWE-79

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