Skip to main content

WSO2 API Manager CVE-2025-6508

| EUVDEUVD-2025-210645 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-06 ed10eef1-636d-4fbe-9993-6890dfa878f8 GHSA-p462-ppqc-2w4x
4.3
CVSS 3.1 · Vendor: ed10eef1-636d-4fbe-9993-6890dfa878f8
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious Swagger definition hosted on attacker server
  2. Delivery
    Embed external definition URL in crafted API Publisher portal link
  3. Exploit
    Deliver link via phishing to API developer or admin
  4. Execution
    Victim clicks link, portal loads attacker-controlled API definitions
  5. Persist
    Victim interacts with overwritten Try-out console
  6. Impact
    Sensitive tokens or request payloads transmitted to attacker backend

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that a victim user with access to the WSO2 API Manager API Publisher portal actively clicks a specially crafted link containing the malicious external Swagger definition URL parameter - user interaction is mandatory and cannot be bypassed. The attacker does not require any authentication to the WSO2 instance to craft the malicious URL, but the victim must themselves be an authenticated API Publisher portal user for the attack to yield useful results (such as captured credentials or backend requests). The API Publisher portal's Swagger UI Try-out console must be enabled and accessible to the target user. The vulnerability does not affect the API Gateway runtime or consumer-facing endpoints. Exploitation is limited to: (1) the mandatory social engineering step requiring UI:R, (2) the victim being an API Publisher user rather than an arbitrary end user, and (3) the integrity-only impact scope - no direct code execution or confidentiality breach occurs from the vulnerability mechanism itself.

Impact

The CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N) accurately reflects the vulnerability's profile: network reachable with no authentication required, but bounded by mandatory user interaction (UI:R) and limited to low integrity impact with no confidentiality or availability consequences. The UI:R constraint is the most significant risk limiter - mass exploitation is not feasible; the attack requires social engineering a specific class of user (API developers or Publisher portal administrators) into clicking a crafted link. The CWE-79 and reporter tag of 'XSS' indicate a content-injection/spoofing class rather than classic reflected or stored XSS with script execution. No EPSS data was provided in the available intelligence; given the absence of KEV listing and no identified POC, exploitation probability is assessed as low. Real-world impact, while not catastrophic, is meaningful in targeted scenarios: compromising developer credentials or triggering backend calls with victim tokens could escalate to broader access. This is a genuine remediation priority for organizations where the API Publisher portal is internet-exposed, but not an emergency for air-gapped or internally-only-accessible deployments.

Exploit ScenarioDerived

An attacker crafts a URL pointing to the WSO2 API Manager API Publisher portal with an attacker-controlled Swagger definition URL embedded as a query parameter, then delivers it via phishing email to an API developer or platform administrator. The victim clicks the link, opens what appears to be a normal API Publisher console, but the displayed API definitions have been silently replaced by attacker-controlled endpoints. When the victim uses the Try-out feature to test API calls, their authentication tokens, session cookies, or submitted request payloads are transmitted to the attacker's server. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Aug 06, 2026

WSO2 API Manager's Swagger UI Try-out console in the API Publisher portal accepts an externally supplied OpenAPI/Swagger definition URL, allowing that definition to override the legitimate API specifications rendered to users. An attacker who tricks an API Publisher user into visiting a crafted URL can substitute attacker-controlled backend endpoints for real ones, potentially harvesting authentication tokens, credentials, or other sensitive payloads submitted via the Try-out console. No public exploit code has been identified and this vulnerability is not listed in CISA KEV; exploitation requires user interaction, confining realistic risk to targeted social engineering against developer or API management personnel.

RemediationAI

Upgrade WSO2 API Manager to version 4.2.0.183 or later on the 4.2.0 release track, or to 4.1.0.212 or later on the 4.1.0 release track, as documented in vendor advisory WSO2-2025-4306 at https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4306/. Where immediate patching is not feasible, restrict access to the API Publisher portal to internal trusted networks or require VPN access, substantially reducing the attack surface since exploitation depends on delivering a crafted URL to a portal-authenticated user. If the product configuration supports disabling the Swagger UI Try-out console or external URL loading, doing so eliminates the attack vector entirely at the cost of developer usability. No generic workarounds should be assumed sufficient without vendor confirmation.

Affected VersionsENISA

WSO2 API Manager 4.2.0 <4.2.0.183
WSO2 API Manager 4.1.0 <4.1.0.212

Affected Packages

euvd wso2_api_manager fix: 4.1.0.212, 4.2.0.183

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the Swagger UI 'Try It Out' component embedded within WSO2 API Manager's API Publisher documentation interface. Swagger UI is an open-source tool for rendering and interacting with OpenAPI/Swagger specification files; it natively supports loading remote definition URLs. The flaw, classified as CWE-79 (Improper Neutralization of Input During Web Page Generation), allows a URL parameter to inject an external OpenAPI specification, replacing the legitimate definitions displayed in the portal without sanitization or origin validation. The affected components are WSO2 API Manager 4.2.0 prior to patch level 4.2.0.183 and version 4.1.0 prior to 4.1.0.212, as confirmed by ENISA EUVD-2025-210645 and the vendor security advisory WSO2-2025-4306.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (ed10eef1-636d-4fbe-9993-6890dfa878f8) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 4.3 MEDIUM

Network-delivered crafted link requires active user click (UI:R, PR:N); impact is limited to overwriting displayed API definitions with no confidentiality or availability consequence (I:L only).

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (ed10eef1-636d-4fbe-9993-6890dfa878f8).

CVSS VectorVendor: ed10eef1-636d-4fbe-9993-6890dfa878f8

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None

Lifecycle Timeline

1
Patch available
Aug 06, 2026 - 23:03 EUVD

DescriptionCVE.org

The Swagger UI Try-out console within the API Publisher documentation allows an external Swagger API definition URL to be loaded, overriding the existing API definitions within the Publisher portal.

By exploiting this vulnerability, malicious actors can deceive users into interacting with these overwritten API definitions. This could lead to the exposure of sensitive information or the initiation of unintended requests to backend services.

Threat Intelligence Overview

EPSS Score
0.2%
Top 90% exploitable
Prevalence
Medium
enterprise API management platform used across mid-to-large organizations
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy