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

VectorAV: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

Weakness Enumeration

Related Identifiers

ALT-PU-2019-1536
BDU:2019-01261
CVE-2018-16468
DSA-4364-1
GHSA-G4XQ-JX4W-4CJV
OPENSUSE-SU-2018_3951-1
OPENSUSE-SU-2019:0185-1
OPENSUSE-SU-2019_0185-1
OPENSUSE-SU-2024:10589-1
OPENSUSE-SU-2024:11337-1
OPENSUSE-SU-2024:11900-1
OPENSUSE-SU-2024:13162-1
OPENSUSE-SU-2024:14171-1
OPENSUSE-SU-2025:15120-1
OPENSUSE-SU-2026:10353-1
SUSE-SU-2018:3928-1
SUSE-SU-2018_3928-1
SUSE-SU-2019:0272-1
SUSE-SU-2019:0394-1

Affected Products

Alt Linux
Loofah
Suse