OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| OWASP | java-html-sanitizer | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Owasp | Java Html Sanitizer | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-g9gq-3pfx-2gw2 | OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.289% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:owasp:java_html_sanitizer:20240325.1:*:*:*:*:*:*:* | |
| Metrics |
cvssV3_1
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Owasp
Owasp java Html Sanitizer |
|
| Vendors & Products |
Owasp
Owasp java Html Sanitizer |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | OWASP Java HTML Sanitizer is vulnerable to XSS via noscript tag and improper style tag sanitization | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|