Описание
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.
A cross site scripting flaw has been discovered in the OWASP Java HTML Sanitizer. 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. This may allow an attacker to execute javascript in the context of a user's browser.
Меры по смягчению последствий
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Logging Subsystem for Red Hat OpenShift | owasp-java-html-sanitizer | Will not fix | ||
| OpenShift Developer Tools and Services | jenkins | Affected | ||
| OpenShift Developer Tools and Services | jenkins-2-plugins | Affected | ||
| Red Hat JBoss Enterprise Application Platform 8 | owasp-java-html-sanitizer | Not affected | ||
| Red Hat JBoss Enterprise Application Platform Expansion Pack | owasp-java-html-sanitizer | Not affected | ||
| Red Hat Single Sign-On 7 | owasp-java-html-sanitizer | Will not fix |
Показывать по
Дополнительная информация
Статус:
7.1 High
CVSS3
Связанные уязвимости
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.
OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization
7.1 High
CVSS3