org.mvnpm:jsondiffpatch@0.7.6

  • latest version

    0.7.7

  • latest non vulnerable version

  • first published

    1 years ago

  • latest version published

    1 months ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the org.mvnpm:jsondiffpatch package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Cross-site Scripting (XSS)

    org.mvnpm:jsondiffpatch is a JSON diff & patch (object and array diff, text diff, multiple output formats)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the formatters.html.format() and formatters.annotated.format() functions, which do not HTML-escape the array-move destination index before embedding it in generated HTML. An attacker who controls a delta passed to either formatter can inject arbitrary markup that executes as script in the application's origin when the output is rendered.

    How to fix Cross-site Scripting (XSS)?

    Upgrade org.mvnpm:jsondiffpatch to version 0.7.7 or higher.

    [,0.7.7)