PT-2018-18405 · Rubinius+4 · Rbx+4
Published
2018-03-21
·
Updated
2026-03-13
·
CVE-2018-8048
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions:
Loofah versions prior to 2.2.1
Description:
The issue allows non-whitelisted HTML attributes to be present in sanitized output when input with specially-crafted HTML fragments. Users are affected when running on MRI or RBX, in combination with libxml2 >= 2.9.2. JRuby users are not affected.
Recommendations:
For versions prior to 2.2.1, update to version 2.2.1 or later to resolve the issue.
As a temporary workaround, consider restricting the use of libxml2 to a version less than 2.9.2 when running on MRI or RBX, until a patch is available.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Jruby
Loofah
Mri
Rbx
Libxml2