CVE-2025-66021 OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization
설명
OWASP Java HTML Sanitizer is a configureable HTML Sanitizer written in Java, allowing inclusion of HTML authored by third-parties in web applications while protecting against XSS. In version 20240325.1, OWASP java html sanitizer is vulnerable to XSS if HtmlPolicyBuilder allows noscript and style tags with allowTextIn inside the style tag. This could lead to XSS if the payload is crafted in such a way that it does not sanitise the CSS and allows tags which is not mentioned in HTML policy. At time of publication no known patch is available.
영향 받는 제품 제품 1개
-
OWASP
java-html-sanitizer
영향 받는 버전
- 20240325.1
해결 버전
해결된 버전 정보가 없습니다.
패키지 기준 해결 버전 패키지 1개
-
해결 버전 있음
Maven · com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer
영향 받는 버전 · 해결 버전
- 영향 20240325.1 이상 20260101.1 미만 · 해결 20260101.1 이상
출처: GitHub Advisory Database · CC-BY 4.0