Description
Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) vulnerability in the OpenAPI module of Apache Axis2/Java. The Swagger UI page served by the OpenAPI module wrote a value derived from the request's Host header into the page without encoding, allowing script injection in the context of the Axis2 origin. This issue affects Apache Axis2/Java: 2.0.1. Users are recommended to upgrade to version 2.0.2, which fixes the issue.
Published: 2026-11-09
Score: n/a
EPSS: n/a
KEV: No
Impact: Cross‑site scripting in the Swagger UI page
Action: Patch
AI Analysis

Impact

Improper neutralization of input during web page generation (CWE‑79) allows an attacker to inject malicious scripts into the Swagger UI page served by the OpenAPI module of Apache Axis2/Java. The vulnerability arises because the module writes the value of the request’s Host header directly into the page without encoding or validation. If an attacker controls the Host header, arbitrary JavaScript can be executed in the context of the Axis2 origin, enabling payloads that can steal session tokens, deface the web page, or hijack user accounts.

Affected Systems

Apache Software Foundation – Apache Axis2/Java, version 2.0.1 is affected. Users running this version are susceptible to the flaw; upgrading to 2.0.2 removes the vulnerability.

Risk and Exploitability

The flaw can be triggered remotely by sending a crafted HTTP request with a malicious Host header to the Swagger UI endpoint. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog, indicating that it may not yet be actively exploited in the wild, but the potential impact of uncontrolled script execution is significant. The lack of a published CVSS score means that users should treat the vulnerability as high risk, given the severity of the XSS payload and the ease of exploitation via standard HTTP traffic.

Generated by OpenCVE AI on November 9, 2026 at 11:21 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the 2.0.2 patch from the Apache Axis2/Java release to eliminate the vulnerability
  • If a patch cannot be applied immediately, configure the server to validate and restrict the Host header, allowing only properly normalized values or rejecting requests with unexpected hostnames
  • Implement a strong Content Security Policy (e.g., default-src 'self'; script-src 'self') and enable XSS protection headers to mitigate the impact of residual injection attempts

Generated by OpenCVE AI on November 9, 2026 at 11:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 09 Nov 2026 12:00:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache apache Axis2/java
Vendors & Products Apache
Apache apache Axis2/java

Mon, 09 Nov 2026 11:30:00 +0000

Type Values Removed Values Added
References

Mon, 09 Nov 2026 10:30:00 +0000

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) vulnerability in the OpenAPI module of Apache Axis2/Java. The Swagger UI page served by the OpenAPI module wrote a value derived from the request's Host header into the page without encoding, allowing script injection in the context of the Axis2 origin. This issue affects Apache Axis2/Java: 2.0.1. Users are recommended to upgrade to version 2.0.2, which fixes the issue.
Title Apache Axis2/Java: Cross-site scripting in the OpenAPI module's Swagger UI page
Weaknesses CWE-79
References

Subscriptions

Apache Apache Axis2/java
cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-11-09T11:08:58.690Z

Reserved: 2026-11-06T13:54:13.571Z

Link: CVE-2026-123766

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-11-09T11:17:24.050

Modified: 2026-11-09T11:17:24.050

Link: CVE-2026-123766

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-11-09T11:45:08Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')