Skip to main content

Apache Axis2/Java CVE-2026-123766

| EUVDEUVD-2026-119935 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
6.1
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Identify exposed Axis2 OpenAPI Swagger UI
  2. Delivery
    Craft request with malicious Host header
  3. Exploit
    Unencoded Host value reflected into page
  4. Execution
    Victim browser executes injected script
  5. Impact
    Hijack 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).

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

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

Alert me

AnalysisAIv1 – 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

Apache Axis2/Java 2.0.1 <2.0.2

Affected Packages

euvd apache_axis2_java fix: 2.0.2

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

Vendor (CNA) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

2
CVSS changed
Nov 12, 2026 - 20:22 NVD
6.1 (MEDIUM)
Patch released
Nov 07, 2026 - 05:00 NVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
legacy SOAP/WSDL engine, moderate enterprise use; OpenAPI module narrower
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.3%
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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
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