XSS in Embed Swagger

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.

Vulnerability class: XSS (Cross-Site Scripting)

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.

EPSS exploit prediction

EPSS: 0.039 (89.9th percentile), scored .

Low probability of exploitation in the next 30 days, but still tracked. 90th percentile — 89.9% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-0381: held from 0.039 to 0.039.

EPSS over last 30 days · oldest: 0.039 · newest: 0.039 · change: 0.000

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-0381?
CVE-2022-0381 is a medium-severity vulnerability in Embed Swagger, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2022-02-04.
How severe is CVE-2022-0381?
Medium severity. CVSS v3 base score is 6.1 out of 10.
Is CVE-2022-0381 known to be exploited?
6 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.