Staging Environment: Content and features may be unstable or change without notice.
Search for vulnerabilities
Vulnerability details: VCID-e33g-ayx5-rffp
Vulnerability ID VCID-e33g-ayx5-rffp
Aliases CVE-2018-25031
GHSA-cr3q-pqgq-m8c2
Summary Swagger UI 4.1.2 and earlier 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. Note: This was originally claimed to be resolved in 4.1.3. However, third parties have indicated this is not resolved in 4.1.3 and even occurs in that version and possibly others.
Status Published
Exploitability 2.0
Weighted Severity 6.2
Risk 10.0
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.99152
EPSS Score 0.8042
Published At June 11, 2026, 12:55 p.m.
Date Actor Action Source VulnerableCode Version
2026-06-11T17:33:49.584421+00:00 Vulnrichment Import https://github.com/cisagov/vulnrichment/blob/develop/2018/25xxx/CVE-2018-25031.json 38.6.0