LiveActive security incident?Get immediate response
CVE Record

CVE-2018-25031: Swagger UI 4.1.2 and earlier could allow a remote attacker to conduct spoofing attacks.

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.

MediumCVSS 4.3Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This issue lets an attacker trick a user into opening a crafted Swagger UI link that displays attacker-controlled OpenAPI content. The main business risk is misleading documentation or data exposure through a trusted interface, not direct server takeover. Sources do not show confirmed active exploitation.

Executive priority

Treat as a moderate-priority hygiene issue. It is unlikely to justify emergency response by itself, but public-facing API documentation and vendor appliances should be reviewed because the fixed-version status is disputed in the provided sources.

Technical view

CVE-2018-25031 affects Swagger UI 4.1.2 and earlier, with reports that 4.1.3 may still be affected. The flaw is user-interaction based and network reachable, allowing remote OpenAPI definitions to be displayed through crafted URLs. CVSS is 4.3 medium with low attack complexity and required user interaction.

Likely exposure

Exposure is most likely where Swagger UI is embedded in public developer portals, appliance management interfaces, API docs, or internal tools. The source bundle lists no precise CPEs, so organizations must inventory bundled Swagger UI versions and vendor products that ship it.

Exploitation context

The attacker must persuade a victim to open a crafted URL. KEV is false, and the provided sources do not establish active exploitation. The impact appears limited to spoofing or unintended remote definition display, with potential confidentiality concerns depending on deployment context.

Researcher notes

The main uncertainty is remediation status. The CVE notes 4.1.3 was originally claimed fixed, but third parties indicated it may remain affected. Avoid assuming unaffected status from version 4.1.3 alone. The source bundle does not provide exploit confirmation or a definitive fixed release.

Mitigation direction

  • Inventory applications and vendor products that bundle Swagger UI.
  • Check vendor guidance before treating 4.1.3 as fixed.
  • Upgrade only to a vendor-confirmed corrected version.
  • Limit public exposure of Swagger UI where not required.
  • Document accepted risk for legacy or vendor-managed deployments.

Validation and detection

  • Identify deployed Swagger UI versions across code, packages, and vendor appliances.
  • Flag 4.1.2 and earlier, plus 4.1.3 for manual review.
  • Confirm whether untrusted remote OpenAPI definitions can be loaded.
  • Review public routes exposing Swagger UI documentation.
  • Record vendor advisory status for each affected product.
Prepared
Confidence
medium
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-20: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · medium confidence lookup

CWE-918: Information exposure and cloud metadata lookup

Information exposure and SSRF weaknesses can make discovery, cloud metadata, and credential material review relevant. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-922: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2018-25031 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
4.3 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
5Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
4.3CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N2.81.4Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

4.3Medium
CVSS 3.1 vector shape for CVE-2018-25031Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.