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

Published Feb 4, 2022
·
Updated

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 Software

1 affected component
Embed Swagger Project Embed Swagger Wordpress<=1.0.0

Remediation

Information

Uninstall plugin from site.

Event History

Feb 4, 2022
CVE Published
via MITRE·10:29 PM
Data Sourced
via MITRE·10:29 PM
RemedyDescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2022-0381?

CVE-2022-0381 has a high severity rating due to its capability to allow XSS attacks.

2

How do I fix CVE-2022-0381?

To fix CVE-2022-0381, update the Embed Swagger WordPress plugin to a version above 1.0.0.

3

What type of attack does CVE-2022-0381 enable?

CVE-2022-0381 enables reflected cross-site scripting (XSS) attacks.

4

Which versions of the Embed Swagger plugin are affected by CVE-2022-0381?

CVE-2022-0381 affects all versions of the Embed Swagger plugin up to and including version 1.0.0.

5

What could an attacker achieve by exploiting CVE-2022-0381?

By exploiting CVE-2022-0381, an attacker could inject arbitrary web scripts, potentially compromising user data or session information.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203