CVE-2018-16468
Ruby packages · CVE-2018-16468
In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.916% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T15:55:09.885Z. Public exploit availability is not used to set this status.
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T15:55:09.885Z | CISA KEV |
| cvss | unknown | unknown | unknown |
| epss | verified | 2026-11-19T16:04:24.854Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:45.823Z | OSV |
| affected | verified | 2026-11-19T12:55:04.360Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:55:04.360Z | CVE Program |
Affected versions and configuration
n/a Loofah (Ruby Gem); default status: unknown: v2.2.3 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "n/a",
"product": "Loofah (Ruby Gem)",
"versions": [
{
"status": "affected",
"version": "v2.2.3"
}
]
}
],
"additionalContainers": [
{
"title": "CVE Program Container",
"references": [
{
"url": "https://www.debian.org/security/2019/dsa-4364",
"name": "DSA-4364",
"tags": [
"vendor-advisory",
"x_refsource_DEBIAN",
"x_transferred"
]
},
{
"url": "https://github.com/flavorjones/loofah/issues/154",
"tags": [
"x_refsource_MISC",
"x_transferred"
]
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2024-08-05T10:24:32.638Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-g4xq-jx4w-4cjv",
"aliases": [
"CVE-2018-16468"
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.2.3"
}
]
}
],
"package": {
"name": "loofah",
"purl": "pkg:gem/loofah",
"ecosystem": "RubyGems"
},
"versions": [
"0.2.0",
"0.2.1",
"0.2.2",
"0.3.0",
"0.3.1",
"0.4.0",
"0.4.1",
"0.4.2",
"0.4.3",
"0.4.4",
"0.4.5",
"0.4.6",
"0.4.7",
"1.0.0",
"1.0.0.beta.1",
"1.1.0",
"1.2.0",
"1.2.1",
"2.0.0",
"2.0.1",
"2.0.2",
"2.0.3",
"2.1.0",
"2.1.0.rc1",
"2.1.0.rc2",
"2.1.1",
"2.2.0",
"2.2.1",
"2.2.2"
],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/11/GHSA-g4xq-jx4w-4cjv/GHSA-g4xq-jx4w-4cjv.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16468",
"type": "ADVISORY"
},
{
"url": "https://github.com/flavorjones/loofah/issues/154",
"type": "WEB"
},
{
"url": "https://github.com/flavorjones/loofah",
"type": "PACKAGE"
},
{
"url": "https://www.debian.org/security/2019/dsa-4364",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": null,
"github_reviewed_at": "2020-06-16T21:36:07Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | RubyGems / package | loofah | Not a distribution channel | 2.2.3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- CISA KEVConsulted: 2026-11-19T15:55:09.885ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:55:04.360ZArchived source JSON
Source publication: 2018-10-30T21:00:00.000Z
Source modification: 2024-08-05T10:24:32.638ZDocument fingerprint
704c562fe0c6b4c05047a72c3728f3f2d365426d41eb97e9e51a209f7a37c356 - OSVConsulted: 2026-11-19T12:52:45.823ZArchived source JSON
Source publication: 2018-11-01T14:46:01.000Z
Source modification: 2023-11-08T03:59:59.636ZDocument fingerprint
603ec53f7c9f7cc28194b8144ddc2f6e08a0a817795c137b0b4c3ad97161442d - FIRST EPSSConsulted: 2026-11-19T16:04:24.854ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
30b2dc1e07a5718fe6f23c18117c6d84d73e34493e1f9d7122d8ff2c91744987
Official status history
- UNKNOWN → PUBLISHED · · evidence