GHSA-84h8-j9vj-p626
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Axis2 OpenAPI Swagger UI
-
DeliveryCraft request with malicious Host header
-
ExploitUnencoded Host value reflected into page
-
ExecutionVictim browser executes injected script
-
ImpactHijack session in Axis2 origin
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 | Requires that the Axis2 OpenAPI module is deployed and its Swagger UI page is reachable, and that the attacker can control or influence the HTTP Host header value observed when the page is generated - the reflected sink is specifically the request Host header written without output encoding. Exploitation is limited by: the need for a victim to load the Swagger UI page (user interaction), the need to influence the Host header reaching the server (e.g. via cache poisoning or an intermediary/reverse proxy rather than a direct victim-controlled browser request), and applicability only to version 2.0.1 deployments that actually run the OpenAPI module. It is not remotely exploitable against an arbitrary default install with no further conditions. |
| Impact | This is a reflected cross-site scripting issue (CWE-79 by description) rated 'moderate' by Apache; the input provides no CVSS vector (NVD shows N/A), no EPSS score, no CISA KEV listing, and no confirmed proof-of-concept. The vuln.today decision label is 'awaiting_data', so no priority framework (SSVC/KEV/EPSS) currently elevates it. On its own merits the flaw is limited: the tainted value comes from the request Host header written unencoded into the OpenAPI module's Swagger UI page, so exploitation requires both that the OpenAPI/Swagger UI module is deployed and reachable and that an attacker can influence the Host header seen by a victim's browser session (typically via cache poisoning or an intermediary proxy) - meaning user interaction and some delivery complexity, not drive-by mass exploitation. Net: a genuine but moderate-priority issue with a clean fix available, not a high-urgency emergency. One caveat on the evidence: the GitHub commit diff supplied as 'source code evidence' modifies WS-Addressing response-endpoint handling (AddressingInHandler/ResponseEndpointPolicy, the AXIS2-6108 decoupled-response change), not the Swagger UI Host-header encoding - so that patch artifact does not actually correspond to the XSS described here and should be verified against the real fix commit. |
| Exploit ScenarioDerived | An attacker influences the Host header value that reaches an Axis2 instance's OpenAPI Swagger UI page (for example through web-cache poisoning or a misconfigured reverse proxy) so that an unencoded script payload is reflected into the served HTML. When a victim loads the Swagger UI page, the injected script executes in the Axis2 origin, allowing session/credential theft or actions in the user's authenticated context. No public exploit code is identified at time of analysis, though the vulnerability was reported by an external finder (n0mi1k). |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Reflected cross-site scripting in the OpenAPI module of Apache Axis2/Java 2.0.1 allows script injection in the origin of the Axis2 server: the Swagger UI page writes a value derived from the request's Host header into the generated HTML without encoding. The assessed vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - unauthenticated and requiring user interaction - so a victim must load the affected Swagger UI page, and the attacker must be able to influence the Host header value the server observes (for example through a caching layer or intermediary proxy rather than a plain direct request). The flaw is rated 'moderate' by Apache and is fixed in 2.0.2; there is no CISA KEV listing, no EPSS score, and no confirmed proof-of-concept, so no public exploit is identified at time of analysis.
RemediationAI
Upgrade to Apache Axis2/Java 2.0.2, which the vendor states fixes the issue (release notes: https://axis.apache.org/axis2/java/core/release-notes/2.0.2.html). The 2.0.1-to-2.0.2 migration is not drop-in, so plan the upgrade rather than treating it as a patch bump: decoupled WS-Addressing responses are refused by default (AXIS2-6108) unless allowNonAnonymousResponseEndpoints is set to true in axis2.xml, and deploying that opt-out should be paired with an explicit httpFrontendHostUrl because the generated reply address otherwise defaults to the local machine's IP - the Apache notes report this change touched 17 of 244 integration tests in their own suite. Service dispatch from the SOAP body namespace is off unless allowContentBasedServiceDispatch is enabled, the admin console ships with empty credentials and is therefore disabled until userName and password are set in your own axis2.xml, exposeServiceMetadata is now honoured on every anonymous metadata route (including /services/ listings, WS-MEX, the ping module and .xsd/.wsdl routes), and new request-size ceilings (multipartMaxRequestSize, multipartMaxFileSize, formUrlEncodedMaxRequestSize, mtomMaxRequestSize, soapMaxRequestSize, and the multiref maxDepth) reject oversized messages rather than allocating them. Build and packaging changes also apply: axis2-spring no longer brings Spring with it, the JMS and mail transports are no longer bundled in axis2.war (they remain in lib/ of the binary distribution), and jibx is no longer a valid -d value for wsdl2java. Where an immediate upgrade is not possible, reducing exposure of the OpenAPI module's Swagger UI page - restricting reachability of that endpoint, and normalizing or allow-listing the Host header at the fronting proxy - limits the attack surface, but these are compensating measures and do not remove the unencoded sink.
Affected VersionsENISA
Affected Packages
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 defect is an instance of improper neutralization of input during web page generation (CWE-79 reflected XSS) in the OpenAPI module's Swagger UI rendering path. A value derived from the inbound HTTP Host header is emitted into the generated page without HTML encoding, so a crafted Host header yields script that executes in the context of the Axis2 origin - reflected in the CVSS scope change to S:C. The assessing vector's UI:R reflects the user-interaction prerequisite, and the requirement to influence the Host header as seen server-side means the practical trigger is a manipulated request from an intermediary or cache rather than a request a victim's browser would normally issue. Only deployments of version 2.0.1 that actually deploy and expose the OpenAPI module's Swagger UI page are in scope. Note that the provided patch commit diff (1671a68660df39459bf22f7b00309e2a8e782117) shows WS-Addressing work - an inbound ReplyTo/FaultTo endpoint screening policy (ResponseEndpointPolicy, rejecting private-network and non-anonymous response endpoints) in the addressing module - and the visible hunks do not include the Swagger UI Host-header encoding change; the 2.0.2 release notes document that WS-Addressing hardening (AXIS2-6108) alongside the other 2.0.2 default changes, so treat 2.0.2 as the authoritative fixed release for this CVE rather than the excerpted commit alone.
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Reflected XSS from an unencoded Host header: network vector, no privileges, but a victim must load the page (UI:R) and script runs in the site origin (S:C) with limited confidentiality/integrity and no availability impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-119935
NVD
CVE.org
EPSS
VulDB
Exploit-DB