SB2026042794 - Cross-site scripting in Loofah
Published: April 27, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) Cross-site scripting (CVE-ID: N/A)
CWE-ID: CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U/U:Green
The vulnerability allows a remote attacker to perform cross-site scripting.
The vulnerability exists due to improper input validation in Loofah::HTML5::Scrub.allowed_uri? when processing HTML-encoded user-supplied URIs. A remote attacker can supply a specially crafted URI to perform cross-site scripting.
This issue only affects direct callers of the string-level helper with HTML-encoded strings; the default sanitize() path is not affected.
Remediation
Install update from vendor's website.