CVE-2022-0381

Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting

State
Published
Severity
6.1 Medium
Published
Feb 4, 2022
Updated
Feb 10, 2025
Reserved
Jan 26, 2022

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NWordfence

Weaknesses

  • CWE-79 Cross-site Scripting (XSS)

Affected Products

ProductVersions
Embed SwaggerEmbed Swagger
  • 1.0.0 through 1.0.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.