{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-23519","published":"2022-12-14T17:15:11.067000Z","last_modified":"2026-06-17T04:30:17.187000Z","status":"Modified","cvss":{"version":"3.1","score":6.1,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:rubyonrails:rails_html_sanitizers:*:*:*:*:*:rails:*:*","part":"a","vendor":"rubyonrails","product":"rails_html_sanitizers","version_end_excluding":"1.4.4"},{"criteria":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"10.0"}],"cpes_truncated":false,"vendors":["rubyonrails","debian"],"products":["rubyonrails/rails_html_sanitizers","debian/debian_linux"],"epss":{"score":0.01209,"percentile":0.68362,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-9h9g-93gc-623h","ecosystem":"RubyGems","name":"rails-html-sanitizer","purl":"pkg:gem/rails-html-sanitizer","ranges":[{"introduced":"0","fixed":"1.4.4"}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3","1.0.4","1.1.0","1.2.0","1.3.0","1.4.0","1.4.1","1.4.2","1.4.3"],"versions_truncated":false}],"severity":"medium","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-23519/","html_en":"/en/cve/CVE-2022-23519/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-23519","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-23519"},"untrusted":{"vendor_name":"Rubyonrails","product_name":"Rails Html Sanitizers","desc_en":"rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Prior to version 1.4.4, a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer's allowed tags in either of the following ways: allow both \"math\" and \"style\" elements,  or allow both \"svg\" and \"style\" elements. Code is only impacted if allowed tags are being overridden. . This issue is fixed in version 1.4.4. All users overriding the allowed tags to include \"math\" or \"svg\" and \"style\" should either upgrade or use the following workaround immediately: Remove \"style\" from the overridden allowed tags, or remove \"math\" and \"svg\" from the overridden allowed tags.","affected":[{"untrusted_vendor":"rails","untrusted_product":"rails-html-sanitizer","versions":[]}],"references":[{"url":"https://github.com/rails/rails-html-sanitizer/security/advisories/GHSA-9h9g-93gc-623h","tags":["Exploit","Third Party Advisory"]},{"url":"https://hackerone.com/reports/1656627","tags":["Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/09/msg00012.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/09/msg00045.html","tags":[]}]},"bulletins":[{"source":"suse","id":"openSUSE-SU-2026:10361-1","url":"https://www.suse.com/support/update/","published":"2026-03-13T00:00:00+00:00","severity":"high","exploited":false,"untrusted":{"title":"ruby4.0-rubygem-rails-html-sanitizer-1.6.0-1.9 on GA media"}}]}