GHSA-fw3g-2h3j-qmm7 · Severity: medium · Ecosystem: rubygems — Improper neutralization of `noscript` element content may allow XSS in Sanitize
Sanitize is an allowlist-based HTML and CSS sanitizer. Versions 5.0.0 and later, prior to 6.0.1, are vulnerable to Cross-site Scripting. When Sanitize is configured with a custom allowlist that allows `noscript` elements, attackers are able to include arbitrary HTML, resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. The default configurations do not allow `noscript` elements and are not vulnerable. This issue only affects users who are using a custom config that adds `noscript` to the element allowlist. This issue has been patched in version 6.0.1. Users who are unable to upgrade can prevent this issue by using one of Sanitize's default configs or by ensuring that their custom config does not include `noscript` in the element allowlist.
Conclusion & alert: CVE-2023-23627 is rated Low Risk (38.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.53%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.37% | 0.53% | +0.15% |
| 2 | 2025-11-21 | 0.29% | 0.37% | +0.08% |
| 3 | 2025-11-18 | — | 0.29% | — |
Full EPSS history (11 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
| 6.1 | 3.1 | MEDIUM |
|
2.8 | 2.7 | [email protected] |
GHSA-fw3g-2h3j-qmm7 · Severity: medium · Ecosystem: rubygems — Improper neutralization of `noscript` element content may allow XSS in Sanitize
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2023-23627 not yet assigned priority: Debian including 1 source packages (ruby-sanitize), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2023-23627 |
ubuntu
|
medium | CVE-2023-23627 medium priority: Ubuntu including 1 source packages (ruby-sanitize), 9 status rows across 9 suites (bionic, focal, jammy, kinetic, lunar, mantic, trusty, upstream, xenial): ignored 3, released 3, not-affected 2, needs-triage 1. | https://ubuntu.com/security/CVE-2023-23627 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| sanitize_project | sanitize | >= 5.0.0, < 6.0.1 | cpe:2.3:a:sanitize_project:sanitize:*:*:*:*:*:ruby:*:* |
| URL | Tags |
|---|---|
| https://github.com/rgrove/sanitize/security/advisories/GHSA-fw3g-2h3j-qmm7 | Mitigation Release Notes Third Party Advisory |