Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.hibernate.validator/hibernate-validator
  4. ›
  5. CVE-2019-10219

CVE-2019-10219: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

January 8, 2020 (updated May 14, 2024)

A vulnerability was found in Hibernate-Validator. The SafeHtml validator annotation fails to properly sanitize payloads consisting of potentially malicious code in HTML comments and instructions. This vulnerability can result in an XSS attack.

References

  • github.com/advisories/GHSA-m8p2-495h-ccmh
  • github.com/hibernate/hibernate-validator/commit/124b7dd6d9a4ad24d4d49f74701f05a13e56ceee
  • github.com/hibernate/hibernate-validator/commit/20d729548511ac5cff6fd459f93de137195420fe
  • nvd.nist.gov/vuln/detail/CVE-2019-10219

Code Behaviors & Features

Detect and mitigate CVE-2019-10219 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.0.18, all versions from 6.1.0.Alpha1 up to 6.1.0.Alpha6

Fixed versions

  • 6.0.18
  • 6.1.0.Final

Solution

Upgrade to version 6.1.0.Final or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.hibernate.validator/hibernate-validator/CVE-2019-10219.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:45 +0000.