Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-jkux-j1yd-47ep
Vulnerability ID VCID-jkux-j1yd-47ep
Aliases CVE-2018-25031
GHSA-cr3q-pqgq-m8c2
Summary Spoofing attack in swagger-ui Swagger UI before 4.1.3 could allow a remote attacker to conduct spoofing attacks. By persuading a victim to open a crafted URL, an attacker could exploit this vulnerability to display remote OpenAPI definitions.
Status Published
Exploitability None
Weighted Severity None
Risk None
Affected and Fixed Packages Package Details
Weaknesses (5)
System Score Found at
epss 0.8042 https://api.first.org/data/v1/epss?cve=CVE-2018-25031
epss 0.8042 https://api.first.org/data/v1/epss?cve=CVE-2018-25031
cvssv3.1_qr MODERATE https://github.com/advisories/GHSA-cr3q-pqgq-m8c2
cvssv3.1 4.3 https://github.com/swagger-api/swagger-ui
generic_textual MODERATE https://github.com/swagger-api/swagger-ui
cvssv3.1 4.3 https://github.com/swagger-api/swagger-ui/issues/4872
generic_textual MODERATE https://github.com/swagger-api/swagger-ui/issues/4872
ssvc Track https://github.com/swagger-api/swagger-ui/issues/4872
cvssv3.1 4.3 https://github.com/swagger-api/swagger-ui/pull/7697
generic_textual MODERATE https://github.com/swagger-api/swagger-ui/pull/7697
cvssv3.1 4.3 https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
generic_textual MODERATE https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
ssvc Track https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
cvssv3.1 4.3 https://nvd.nist.gov/vuln/detail/CVE-2018-25031
generic_textual MODERATE https://nvd.nist.gov/vuln/detail/CVE-2018-25031
cvssv3.1 4.3 https://security.netapp.com/advisory/ntap-20220407-0004
generic_textual MODERATE https://security.netapp.com/advisory/ntap-20220407-0004
cvssv3.1 4.3 https://security.netapp.com/advisory/ntap-20220407-0004/
ssvc Track https://security.netapp.com/advisory/ntap-20220407-0004/
cvssv3.1 4.3 https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
generic_textual MODERATE https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
ssvc Track https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
No exploits are available.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://github.com/swagger-api/swagger-ui
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.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://github.com/swagger-api/swagger-ui/issues/4872
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: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-18T13:12:25Z/ Found at https://github.com/swagger-api/swagger-ui/issues/4872
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://github.com/swagger-api/swagger-ui/pull/7697
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.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
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: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-18T13:12:25Z/ Found at https://github.com/swagger-api/swagger-ui/releases/tag/v4.1.3
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://nvd.nist.gov/vuln/detail/CVE-2018-25031
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.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://security.netapp.com/advisory/ntap-20220407-0004
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.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://security.netapp.com/advisory/ntap-20220407-0004/
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: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-18T13:12:25Z/ Found at https://security.netapp.com/advisory/ntap-20220407-0004/
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N Found at https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
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: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-07-18T13:12:25Z/ Found at https://security.snyk.io/vuln/SNYK-JS-SWAGGERUI-2314885
Exploit Prediction Scoring System (EPSS)
Percentile 0.99148
EPSS Score 0.8042
Published At June 4, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-02T04:41:46.910277+00:00 GitLab Importer Import https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/swagger-ui/CVE-2018-25031.yml 38.6.0