Skip to content

← Public intelligence

Maven package

com.mikesamuel:json-sanitizer

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 6.1MavenPublished

    Cross-site scripting in json-sanitizer

    CVE-2020-13973 · GHSA-g8jj-899q-8x3j

    Affected
    • Maven com.mikesamuel:json-sanitizer < 1.2.1
    Fixed in
    1.2.1· Vendor fix available
    Issue
    OWASP json-sanitizer before 1.2.1 allows XSS. An attacker who controls a substring of the input JSON, and controls another substring adjacent to a SCRIPT element in which the output is embedded as JavaScript, may be able to confuse the HTML parser as to where the SCRIPT element ends, and cause non-script content to be interpreted as JavaScript.

    Recommended action: Upgrade to 1.2.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Critical, CVSS 9.8MavenPublished

    Arbitrary code injection in json-sanitizer

    CVE-2021-23899 · GHSA-mm8j-9x84-m9cv

    Affected
    • Maven com.mikesamuel:json-sanitizer < 1.2.2
    Fixed in
    1.2.2· Vendor fix available
    Issue
    OWASP json-sanitizer before 1.2.2 may emit closing SCRIPT tags and CDATA section delimiters for crafted input. This allows an attacker to inject arbitrary HTML or XML into embedding documents.

    Recommended action: Upgrade to 1.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 7.5MavenPublished

    Uncaught Exception leading to Denial of Service in json-sanitizer

    CVE-2021-23900 · GHSA-8rf5-92jh-3vc9

    Affected
    • Maven com.mikesamuel:json-sanitizer < 1.2.2
    Fixed in
    1.2.2· Vendor fix available
    Issue
    OWASP json-sanitizer before 1.2.2 can output invalid JSON or throw an undeclared exception for crafted input. This may lead to denial of service if the application is not prepared to handle these situations.

    Recommended action: Upgrade to 1.2.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →