CVE-2022-23515
published medium CVSS 3.1 · 6.1Improper neutralization of data URIs may allow XSS in Loofah
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| flavorjones | — | loofah>= 2.1.0, < 2.19.1 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Debian | bullseye | ruby-loofah | Advisory build | 2.7.0+dfsg-1+deb11u1 | DLA-3901-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| Rocky Linux | 8 | libdb-cxxx86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Debian | buster | ruby-loofah | Advisory build | 2.2.3-1+deb10u2 | DLA-3565-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
Show 51 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP1 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP2 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP3 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | SLE-15-SP4 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofahx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docs390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-docx86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuiteaarch64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuiteppc64le | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuites390x | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | ruby2.5-rubygem-loofah-testsuitex86_64 | Advisory build | 2.2.2-150000.4.9.1 | SUSE-SU-2023:1657-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahaarch64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahppc64le | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahs390x | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-loofahx86_64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahaarch64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahppc64le | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahs390x | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-loofahx86_64 | Advisory build | 2.19.1-1.1 | OPENSUSE-SU-2024:12768-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahaarch64 | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahppc64le | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahs390x | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-loofahx86_64 | Advisory build | 2.22.0-1.5 | OPENSUSE-SU-2024:14171-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahaarch64 | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahppc64le | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahs390x | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-loofahx86_64 | Advisory build | 2.23.1-1.3 | OPENSUSE-SU-2025:15120-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahaarch64 | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahppc64le | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahs390x | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby4.0-rubygem-loofahx86_64 | Advisory build | 2.23.1-1.5 | OPENSUSE-SU-2026:10353-1 |
| Rocky Linux | 8 | libdb-cxx-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-debugsourcex86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-sql-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-sql-devel-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
| Rocky Linux | 8 | libdb-utils-debuginfox86_64 | Listed in advisory | Not stated | RLSA-2023:2097 |
Description
Loofah is a general library for manipulating and transforming HTML/XML documents and fragments, built on top of Nokogiri. Loofah >= 2.1.0, < 2.19.1 is vulnerable to cross-site scripting via the image/svg+xml media type in data URIs. This issue is patched in version 2.19.1.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| flavorjones | loofah | >= 2.1.0, < 2.19.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5Provider assertions
2GitHub_M · cna
Improper neutralization of data URIs may allow XSS in Loofah
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 248c248c3ac76d61ec3527838800a173747c7291ef56d0afb5462ac7c856f742
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record