{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-128069","id":"CVE-2026-128069","title":"rails-html-sanitizer XSS via concurrent sanitizer calls","description":"rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Before 1.7.2, the HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse one Rails::HTML::PermitScrubber across calls and mutate its tags and attributes without synchronization. In a multithreaded process, concurrent sanitize calls using different tags: or attributes: options can interleave and cause","descriptionLong":"rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Before 1.7.2, the HTML4 and HTML5 variants of Rails::HTML::SafeListSanitizer reuse one Rails::HTML::PermitScrubber across calls and mutate its tags and attributes without synchronization. In a multithreaded process, concurrent sanitize calls using different tags: or attributes: options can interleave and cause one call to use the other call's allowlist. If a permissive call admits a script element or event-handler attribute, output expected to be sanitized under a stricter policy can retain it and cause cross-site scripting when rendered. Applications that are single-threaded, use one identical allowlist everywhere, or provide a separate scrubber: are not affected. This issue is fixed in version 1.7.2.","published":"2026-11-13T17:17:47.954Z","updated":"2026-11-18T13:45:16.451493810Z","reserved":"2026-11-12T21:24:51.129Z","status":"Received","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":4.7,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["rails-html-sanitizer"],"affectedProducts":[{"vendor":"rails","product":"rails-html-sanitizer","defaultStatus":null,"versions":[{"version":"< 1.7.2","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"rails-html-sanitizer","purl":"pkg:gem/rails-html-sanitizer","ranges":["<1.7.2"],"fixed":["1.7.2"],"advisory":"GHSA-h7wh-q2qr-458c"}],"cwes":["CWE-79","CWE-362"],"aliases":["GHSA-h7wh-q2qr-458c"],"references":[{"url":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/rails/rails-html-sanitizer/issues/228","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/128xxx/CVE-2026-128069.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128069","tags":["advisory"]},{"url":"https://github.com/rails/rails-html-sanitizer","tags":["package"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rails-html-sanitizer/GHSA-h7wh-q2qr-458c.yml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00219,"epssPercentile":0.12549,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-128069","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128069","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-128069","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-h7wh-q2qr-458c","ok":true,"note":"GHSA-h7wh-q2qr-458c"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-128069","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":["ruby"],"critical":[],"attention":null}