CVE-2022-23518: Debian Linux

Medium severity, CVSS 6.1. EPSS: 1.1% probability of exploitation activity in the next 30 days.

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. Versions >= 1.0.3, < 1.4.4 are vulnerable to cross-site scripting via data URIs when used in combination with Loofah >= 2.1.0. This issue is patched in version 1.4.4.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Loofah Project Loofah, from 2.1.0, before 2.19.1: fixed in 2.19.1
  • Rubyonrails Rails Html Sanitizers, from 1.0.3, before 1.4.4: fixed in 1.4.4

Affected products

Affected packages

Published 2022-12-14. Last modified 2026-06-17.