Skip to main content
← All vulnerabilities
CVE-2025-9910GHSA-33VC-WFWW-VJFV

Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

Versions of the package jsondiffpatch before 0.7.2 are vulnerable to Cross-site Scripting (XSS) via HtmlFormatter::nodeBegin. An attacker can inject malicious scripts into HTML payloads that may lead to code execution if untrusted payloads were used as source for the diff, and the result renderer using the built-in html formatter on a private website.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • n/a jsondiffpatch

    fixed in 0.7.2

  • n/a org.webjars.npm:jsondiffpatch

    All versions

  • n/a org.webjars.bower:jsondiffpatch

    All versions

  • jsondiffpatchnpm

    fixed in 0.7.2

References 6

security.snyk.io

GitHub · benjamine/jsondiffpatch

benjamine.github.io