PT-2018-2643 · Ruby+2 · Loofah+2
Shubham Pathak
+1
·
Published
2018-10-30
·
Updated
2026-03-13
·
CVE-2018-16468
CVSS v3.1
5.4
Medium
| Vector | AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
Loofah gem for Ruby versions through 2.2.2
Description
The issue is related to insufficient sanitization of SVG elements in JavaScript, which can lead to the occurrence of unsanitized JavaScript in sanitized output when a crafted SVG element is republished. This can allow a remote attacker to inject arbitrary JavaScript code.
Recommendations
For versions through 2.2.2, upgrade to version 2.2.3 to resolve the issue.
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Loofah
Suse