Cross-site Scripting (XSS) Affecting ruby193-rubygem-actionpack package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
2.63% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-RUBY193RUBYGEMACTIONPACK-9839496
  • published28 Apr 2025
  • disclosed18 Mar 2013

Introduced: 18 Mar 2013

CVE-2013-1855  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:10 ruby193-rubygem-actionpack.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby193-rubygem-actionpack package and not the ruby193-rubygem-actionpack package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

The sanitize_css method in lib/action_controller/vendor/html-scanner/html/sanitizer.rb in the Action Pack component in Ruby on Rails before 2.3.18, 3.0.x and 3.1.x before 3.1.12, and 3.2.x before 3.2.13 does not properly handle \n (newline) characters, which makes it easier for remote attackers to conduct cross-site scripting (XSS) attacks via crafted Cascading Style Sheets (CSS) token sequences.

CVSS Base Scores

version 3.1