CVE Explorer
CVE-2025-66021
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 tim
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"java-html-sanitizer","vendor":"OWASP","versions":[{"status":"affected","version":"= 20240325.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:af565377eb0ea69beafec372722c8da46c3ad49f5b9de69bbed07cf47e7d6f25 · sha256:5fd4b09769316339… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":8.6,"baseSeverity":"HIGH","privilegesRequired":"NONE","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"PASSIVE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0","vulnAvailabilityImpact":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:af565377eb0ea69beafec372722c8da46c3ad49f5b9de69bbed07cf47e7d6f25 · sha256:5fd4b09769316339… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:af565377eb0ea69beafec372722c8da46c3ad49f5b9de69bbed07cf47e7d6f25 · sha256:5fd4b09769316339… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/OWASP/java-html-sanitizer/security/advisories/GHSA-g9gq-3pfx-2gw2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/OWASP/java-html-sanitizer/security/advisories/GHSA-g9gq-3pfx-2gw2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:af565377eb0ea69beafec372722c8da46c3ad49f5b9de69bbed07cf47e7d6f25 · sha256:5fd4b09769316339… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/OWASP/java-html-sanitizer/security/advisories/GHSA-g9gq-3pfx-2gw2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:af565377eb0ea69beafec372722c8da46c3ad49f5b9de69bbed07cf47e7d6f25 · sha256:5fd4b09769316339… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.