{
  "cveId": "CVE-2022-23519",
  "url": "https://patchblox.com/security/cve/CVE-2022-23519",
  "summary": "CVE-2022-23519 is fixed in ruby-rails-html-sanitizer on 1 platform, first by DEBIAN-CVE-2022-23519, released December 14, 2022. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "ruby-rails-html-sanitizer: rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications",
  "description": "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\u0027s allowed tags in either of the following ways: allow both \u0022math\u0022 and \u0022style\u0022 elements,  or allow both \u0022svg\u0022 and \u0022style\u0022 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 \u0022math\u0022 or \u0022svg\u0022 and \u0022style\u0022 should either upgrade or use the following workaround immediately: Remove \u0022style\u0022 from the overridden allowed tags, or remove \u0022math\u0022 and \u0022svg\u0022 from the overridden allowed tags.",
  "published": "2022-12-14T17:15:11Z",
  "severity": "medium",
  "cvss": 6.1,
  "cvssVector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
  "epss": 0.01055,
  "epssPercentile": 0.64638,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "fixes": [
    {
      "platform": "linux",
      "product": "ruby-rails-html-sanitizer",
      "release": "Debian 12.15 (bookworm)",
      "fixedVersion": "1.4.4-1",
      "fix": "DEBIAN-CVE-2022-23519",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-23519",
      "released": "2022-12-14T17:15:11Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rails-html-sanitizer",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.4.4-1",
      "fix": "DEBIAN-CVE-2022-23519",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-23519",
      "released": "2022-12-14T17:15:11Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rails-html-sanitizer",
      "release": "Debian 14",
      "fixedVersion": "1.4.4-1",
      "fix": "DEBIAN-CVE-2022-23519",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-23519",
      "released": "2022-12-14T17:15:11Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}