Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss
Résumé
Hibernate-validator: rendering of invalid html with safehtml leads to html injection and xss
Description d'origine
La description telle que publiée par la source (souvent en anglais).
A flaw was found in hibernate-validator's '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 an invalid html, allowing HTML injection or Cross-Site-Scripting (XSS) attacks.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
État des correctifs par distribution
Paquets corrigés publiés par chaque distribution pour cette CVE
- Debian DEBIAN-CVE-2023-1932 libhibernate-validator-java
- Ubuntu UBUNTU-CVE-2023-1932 libhibernate-validator-java
Références
- advisory access.redhat.com
- advisory github.com
- advisory nvd.nist.gov
- report bugzilla.redhat.com
- web access.redhat.com
- web access.redhat.com