CVE-2018-8048

unknown
Published 2018-03-16 · Modified 2024-02-22
CVSS v3
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v2
VIR risk

Description

In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2018-8048

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2018-8048.html

OS impact

OSVersionStatusFixed in
suse slesaffected
debian debianbookwormfixed2.2.1-1
debian debianbullseyefixed2.2.1-1
debian debianforkyfixed2.2.1-1
debian debiansidfixed2.2.1-1
debian debiantrixiefixed2.2.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsnokogiri<>= 1.8.3>= 1.8.3
ruby RubyGemsloofah<>= 2.2.1>= 2.2.1
ruby RubyGemsloofah<2.2.12.2.1
ruby RubyGemsnokogiri<1.8.31.8.3

References

Verify integrity in audit chain (admin only). AS-IS.