{
  "cveId": "CVE-2022-23520",
  "url": "https://patchblox.com/security/cve/CVE-2022-23520",
  "summary": "CVE-2022-23520 is fixed in ruby-rails-html-sanitizer on 1 platform, first by DEBIAN-CVE-2022-23520, 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, there is a possible XSS vulnerability with certain configurations of Rails::Html::Sanitizer due to an incomplete fix of CVE-2022-32209. Rails::Html::Sanitizer may allow an attacker to inject content if the application developer has overridden the sanitizer\u0027s allowed tags to allow both \u0022select\u0022 and \u0022style\u0022 elements. Code is only impacted if allowed tags are being overridden. This issue is patched in version 1.4.4. All users overriding the allowed tags to include both \u0022select\u0022 and \u0022style\u0022 should either upgrade or use this workaround: Remove either \u0022select\u0022 or \u0022style\u0022 from the overridden allowed tags. NOTE: Code is _not_ impacted if allowed tags are overridden using either the :tags option to the Action View helper method sanitize or the :tags option to the instance method SafeListSanitizer#sanitize.",
  "published": "2022-12-14T18:15:17Z",
  "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.01185,
  "epssPercentile": 0.68035,
  "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-23520",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-23520",
      "released": "2022-12-14T18:15:17Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rails-html-sanitizer",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "1.4.4-1",
      "fix": "DEBIAN-CVE-2022-23520",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-23520",
      "released": "2022-12-14T18:15:17Z"
    },
    {
      "platform": "linux",
      "product": "ruby-rails-html-sanitizer",
      "release": "Debian 14",
      "fixedVersion": "1.4.4-1",
      "fix": "DEBIAN-CVE-2022-23520",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2022-23520",
      "released": "2022-12-14T18:15:17Z"
    }
  ],
  "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"
  }
}