Search for vulnerabilities
Vulnerability details: VCID-embn-3gvw-b7bp
Vulnerability ID VCID-embn-3gvw-b7bp
Aliases CVE-2018-16468
GHSA-g4xq-jx4w-4cjv
Summary Loofah XSS Vulnerability In the Loofah gem, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.
Status Published
Exploitability 0.5
Weighted Severity 6.2
Risk 3.1
Affected and Fixed Packages Package Details
Weaknesses (3)
System Score Found at
cvssv3 5.4 https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16468.json
epss 0.00294 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00294 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00294 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00294 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00294 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
epss 0.00314 https://api.first.org/data/v1/epss?cve=CVE-2018-16468
cvssv3 6.4 https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-g4xq-jx4w-4cjv
cvssv3.1 5.4 https://github.com/flavorjones/loofah
generic_textual MODERATE https://github.com/flavorjones/loofah
cvssv3 6.4 https://github.com/flavorjones/loofah/issues/154
cvssv3.1 5.4 https://github.com/flavorjones/loofah/issues/154
generic_textual MODERATE https://github.com/flavorjones/loofah/issues/154
cvssv2 3.5 https://nvd.nist.gov/vuln/detail/CVE-2018-16468
cvssv3 5.4 https://nvd.nist.gov/vuln/detail/CVE-2018-16468
cvssv3.1 5.4 https://nvd.nist.gov/vuln/detail/CVE-2018-16468
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2018-16468
cvssv3.1 5.4 https://www.debian.org/security/2019/dsa-4364
generic_textual MODERATE https://www.debian.org/security/2019/dsa-4364
No exploits are available.
Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16468.json
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:L Found at https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/flavorjones/loofah
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://github.com/flavorjones/loofah/issues/154
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: AV:N/AC:M/Au:S/C:N/I:P/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-16468
Exploitability (E) Access Vector (AV) Access Complexity (AC) Authentication (Au) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

high

functional

unproven

proof_of_concept

not_defined

local

adjacent_network

network

high

medium

low

multiple

single

none

none

partial

complete

none

partial

complete

none

partial

complete

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-16468
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-16468
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Found at https://www.debian.org/security/2019/dsa-4364
Attack Vector (AV) Attack Complexity (AC) Privileges Required (PR) User Interaction (UI) Scope (S) Confidentiality Impact (C) Integrity Impact (I) Availability Impact (A)

network

adjacent_network

local

physical

low

high

none

low

high

none

required

unchanged

changed

high

low

none

high

low

none

high

low

none

Exploit Prediction Scoring System (EPSS)
Percentile 0.52527
EPSS Score 0.00294
Published At Aug. 1, 2025, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2025-07-31T08:05:05.193945+00:00 Ruby Importer Import https://github.com/rubysec/ruby-advisory-db/blob/master/gems/loofah/CVE-2018-16468.yml 37.0.0