Skip to content

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

MediumCVSS 6.1 EPSS 4.0% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
PHPWordPress

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.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
Embed Swagger >= 1.0.0, <= 1.0.0 after 1.0.0 Fixed
embed swagger project embed swagger <= 1.0.0 after 1.0.0 Fixed
wordpress embed-swagger(WordPress) <= 1.0.0 after 1.0.0 Fixed

Affected products

ProductAffected versionsFixed in
Embed Swagger >= 1.0.0, <= 1.0.0 No fix listed
embed swagger project embed swagger <= 1.0.0 No fix listed
wordpress embed-swagger(WordPress) <= 1.0.0 No fix listed

References