Vulnerability · Published Feb 4, 2022 · Assigned by Wordfence

CVE-2022-0381Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting

Medium 6.1

In plain English

A medium-severity cross-site scripting in Embed Swagger from Embed Swagger. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.9% (higher than 90% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)3.9%top 9.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

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

Affected products (as reported)

VendorProductVersions
Embed Swagger Embed Swagger 1.0.0 – through 1.0.0

Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References