CVE-2013-1855

rubygem-actionpack: css_sanitization: XSS vulnerability in sanitize_css

Published Mar 19, 2013 CVSS 2.0 · 4.3 Medium EPSS 2.6% KEV · Not listed
Description
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.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2655-1 rails security update
EUVD EUVD EUVD-2017-0289 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.
Github GHSA Github GHSA GHSA-q759-hwvc-m3jg actionpack Cross-site Scripting vulnerability
History

No history.

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 6, 2024, 3:20 PM
Reserved
Feb 19, 2013, 12:00 AM
Status
Modified
Published
Mar 19, 2013, 10:55 PM
Modified
Jun 16, 2026, 11:52 PM
Severity
Moderate
Public date
Mar 18, 2013, 12:00 AM