{"api_version":"1","generated_at":"2026-11-14T00:24:41+00:00","cve":"CVE-2026-128069","urls":{"html":"https://cve.report/CVE-2026-128069","api":"https://cve.report/api/cve/CVE-2026-128069.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-128069","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-128069"},"summary":{"title":"rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent 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 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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-11-13 18:17:34","updated_at":"2026-11-13 18:17:34"},"problem_types":["CWE-79","CWE-362","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation","CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"4.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"4.7","severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2","name":"https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9","name":"https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rails/rails-html-sanitizer/issues/228","name":"https://github.com/rails/rails-html-sanitizer/issues/228","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c","name":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-128069","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-128069","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"rails","product":"rails-html-sanitizer","version":"affected < 1.7.2","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"rails-html-sanitizer","vendor":"rails","versions":[{"status":"affected","version":"< 1.7.2"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation","lang":"en","type":"CWE"}]},{"descriptions":[{"cweId":"CWE-362","description":"CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-11-13T17:17:47.954Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-h7wh-q2qr-458c"},{"name":"https://github.com/rails/rails-html-sanitizer/issues/228","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails-html-sanitizer/issues/228"},{"name":"https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails-html-sanitizer/commit/15f764c3563d5dd9b97ad32eaa7454577ccec4b9"},{"name":"https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2","tags":["x_refsource_MISC"],"url":"https://github.com/rails/rails-html-sanitizer/releases/tag/v1.7.2"}],"source":{"advisory":"GHSA-h7wh-q2qr-458c","discovery":"UNKNOWN"},"title":"rails-html-sanitizer: Possible XSS via shared scrubber state in concurrent calls"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-128069","datePublished":"2026-11-13T17:17:47.954Z","dateReserved":"2026-11-12T21:24:51.129Z","dateUpdated":"2026-11-13T17:17:47.954Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-13 18:17:34","lastModifiedDate":"2026-11-13 18:17:34","problem_types":["CWE-79","CWE-362","CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation","CWE-362 CWE-362: Concurrent Execution using Shared Resource with Improper Synchronization"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":2.7}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"128069","Ordinal":"1","Title":"rails-html-sanitizer: Possible XSS via shared scrubber state in ","CVE":"CVE-2026-128069","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"128069","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"rails-html-sanitizer: Possible XSS via shared scrubber state in "}]}}}