com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer@r163 vulnerabilities

  • latest version

    20240325.1

  • first published

    12 years ago

  • latest version published

    1 years ago

  • licenses detected

  • package registry

  • Direct Vulnerabilities

    Known vulnerabilities in the com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer 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
    • H
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the HtmlPolicyBuilder when both noscript and style tags are allowed and allowTextIn is enabled for the style tag. An attacker can execute arbitrary scripts in the context of the user's browser by crafting malicious HTML payloads that exploit improper sanitization of these tags.

    How to fix Cross-site Scripting (XSS)?

    There is no fixed version for com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer.

    [0,)
    • L
    Information Exposure

    Affected versions of this package are vulnerable to Information Exposure via a crafted FORM element within a NOSCRIPT element. An attacker can obtain potentially sensitive information by convincing a user to submit the form when JavaScript is disabled.

    Note:

    Due to the constrained circumstances and the fact that it does not allow the exfiltration of data protected by the same-origin policy, it is considered low risk. For policies that allow external links, the privilege escalation only includes POSTing, possibly including the upload of files chosen by the user.

    How to fix Information Exposure?

    Upgrade com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer to version 20160422.1 or higher.

    [,20160422.1)
    • M
    Cross-site Scripting (XSS)

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via special tags inside <select> elements.

    How to fix Cross-site Scripting (XSS)?

    Upgrade com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer to version 20211018.2 or higher.

    [,20211018.2)