Upstream information

CVE-2024-53988 at MITRE

Description

rails-html-sanitizer is responsible for sanitizing HTML fragments in Rails applications. There is a possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer 1.6.0 when used with Rails >= 7.1.0. A possible XSS vulnerability with certain configurations of Rails::HTML::Sanitizer may allow an attacker to inject content if HTML5 sanitization is enabled and the application developer has overridden the sanitizer's allowed tags where the "math", "mtext", "table", and "style" elements are allowed and either either "mglyph" or "malignmark" are allowed. This vulnerability is fixed in 1.6.1.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having low severity.

CVSS v4 Scores
  CNA (GitHub)
Base Score 2.3
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Network
Attack Complexity Low
Attack Requirements Present
Privileges Required None
User Interaction Passive
Vulnerable System Confidentiality Impact None
Vulnerable System Integrity Impact None
Vulnerable System Availability Impact None
Subsequent System Confidentiality Impact Low
Subsequent System Integrity Impact Low
Subsequent System Availability Impact None
CVSSv4 Version 4.0
SUSE Bugzilla entry: 1234096 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.5 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.6 rubygem-rails-html-sanitizer Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-rails-html-sanitizer Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise High Availability Extension 15 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.3 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.4 rubygem-rails-html-sanitizer Not affected


SUSE Timeline for this CVE

CVE page created: Tue Dec 3 00:00:35 2024
CVE page last modified: Tue Dec 3 16:12:40 2024