rubygem-loofah: XXS when a crafted SVG element is republished
Published Oct 30, 2018
5.4
MEDIUMCVSS 3.0
EPSS 0.92%
Description
In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
Affected products
- Vendor n/a Product Loofah (Ruby Gem) Defaultn/a
- Version v2.2.3StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Loofah (Ruby Gem) | n/a |
|
Configuration 1
- ≤ 2.2.2
Configuration 2
- 9.0
No data.
CloudForms Management Engine 5
cfme-amazon-smartstate
Not affected
CloudForms Management Engine 5
cfme-gemset
Not affected
Red Hat Satellite 6
tfm-ror51-rubygem-loofah
Will not fix
Red Hat Software Collections
rh-ror42-rubygem-loofah
Will not fix
Red Hat Software Collections
rh-ror50-rubygem-loofah
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms Management Engine 5 | cfme-amazon-smartstate | Not affected | n/a |
| CloudForms Management Engine 5 | cfme-gemset | Not affected | n/a |
| Red Hat Satellite 6 | tfm-ror51-rubygem-loofah | Will not fix | n/a |
| Red Hat Software Collections | rh-ror42-rubygem-loofah | Will not fix | n/a |
| Red Hat Software Collections | rh-ror50-rubygem-loofah | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
Red Hat Satellite 6 does not allow displaying user-defined SVGs and is thus not affected by this CVE.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
AV:N/AC:M/Au:S/C:N/I:P/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (10 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.92% (0.00916) | 58.72th | v5 (v2026.06.15) |
| Sep 20, 2026 | 0.92% (0.00916) | 58.62th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.06% (0.00064) | 28.52th | v3 (v2023.03.01) |
| May 1, 2024 | 0.06% (0.00064) | 27.15th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.09% (0.00091) | 38.28th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.06% (0.00064) | 26.09th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.89% (0.00885) | 10.50th | v2 (v2022.01.01) |
| Feb 3, 2022 | 0.62% (0.00624) | 17.80th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (7)
- https://access.redhat.com/security/cve/CVE-2018-16468 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1646715 Issue Tracking
- https://github.com/advisories/GHSA-g4xq-jx4w-4cjv Advisory
- https://github.com/flavorjones/loofah/issues/154 x_refsource_MISCThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2018-16468
- https://www.cve.org/CVERecord?id=CVE-2018-16468
- https://www.debian.org/security/2019/dsa-4364 vendor-advisoryx_refsource_DEBIANThird Party Advisory
| Link | Providers | Tags |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2018-16468 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1646715 | Issue Tracking | |
| https://github.com/advisories/GHSA-g4xq-jx4w-4cjv | Advisory | |
| https://github.com/flavorjones/loofah/issues/154 | x_refsource_MISCThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2018-16468 | ||
| https://www.cve.org/CVERecord?id=CVE-2018-16468 | ||
| https://www.debian.org/security/2019/dsa-4364 | vendor-advisoryx_refsource_DEBIANThird Party Advisory |
Change history (0)
No recorded changes yet.