org.hibernate.validator:hibernate-validator@6.0.20.Final vulnerabilities

Direct Vulnerabilities

Known vulnerabilities in the org.hibernate.validator:hibernate-validator package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-Site Scripting (XSS)

org.hibernate.validator:hibernate-validator is a Hibernate Validator Engine Relocation Artifact.

Affected versions of this package are vulnerable to Cross-Site Scripting (XSS) due to the isValid method in the org.hibernate.validator.internal.constraintvalidators.hv.SafeHtmlValidator class, which can be bypassed by omitting the tag ending in a less-than character. Browsers may render invalid HTML, allowing for the injection of arbitrary HTML content or the execution of scripts in the context of the user's browser session by crafting malicious input.

How to fix Cross-Site Scripting (XSS)?

Upgrade org.hibernate.validator:hibernate-validator to version 6.2.0 or higher.

[,6.2.0)