BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2022-0381

MEDIUM 6.1 CVSS 3.1
Published
February 4, 2022
Last modified
June 17, 2026
NVD status
Modified
Reported by
security@wordfence.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

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 WordPress components

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Embed Swagger Embed Swagger — From 1.0.0 (including) to 1.0.0 (including)
  • embed_swagger_project embed_swagger — Up to and including 1.0.0

References

  • gist.github.com https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3 Exploit, Third Party Advisory
  • plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59 Third Party Advisory
  • www.wordfence.com https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381 Third Party Advisory
  • nvd.nist.gov Official NVD record