6.1

CVE-2022-23520: debian debian_linux Cross-site Scripting

CVSS: 6.1v3.1MediumModified
AliasesUBUNTU-CVE-2022-23520DEBIAN-CVE-2022-23520GHSA-rrfc-7g8p-99q8
Published 14-12-2022Last modified 03-11-2025

Vulnerability summary

CVE-2022-23520 is a medium (CVSS 6.1) Cross-site Scripting vulnerability in debian debian_linux. EPSS estimates a 1.19% chance of exploitation in the next 30 days, higher than 67.3% of scored vulnerabilities. 2 public exploits are recorded.

Overall risk
35/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.1/10
010
Medium · v3.1 (CVE.org)
EPSS score
1.19%
0%100%
Low · +0.07 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits2github, reference

Advisory lineage

Upstream 0 · Downstream 9 · Related 6

Timeline

  1. 14-12-2022
    PublishedVulnerability first disclosed.
  2. 03-11-2025
    Last modifiedVulnerability information updated.

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's allowed tags to allow both "select" and "style" 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 "select" and "style" should either upgrade or use this workaround: Remove either "select" or "style" 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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

1.19%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

+0.07 pp

From 1.11% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.19%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

2 found
  • githubUnverified

    Rails Html Sanitizer

    Maturity: poc

  • referenceUnverified

    Exploit Reference (hackerone.com)

    Maturity: unknown

Weaknesses

CWE · root cause

Affected systems

Debian2 products
Rails1 product
RubyGems1 product
  • rails-html-sanitizer< 1.4.4
Rubyonrails1 product
Ubuntu1 product
  • ruby-rails-html-sanitizerAll versions (No fix recorded)

5 vendors · 6 products

References

10 links