Skip to main content
← Vulnerabilities

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

Exploited
No known exploitation
Fix
Fixed in 2.0.2
Who is exposed
Not reported

Do first: Upgrade to a fixed version: 2.0.2.

Published
Last modified
10/100 · provisional
None on Exploit-DB, Metasploit or GitHub

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.

Written by anthropic/claude-haiku-5.5 from the sources below. Verify against them.

Read the original 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.

cve.now Index

10Pcve.now Index 10 of 100 · methodology v3 · provisional
  • Exploitation?/40Unknown. No CISA SSVC exploitation rating yet
  • Exposure?/25Unknown. No advisory context yet
  • Reach10/20Affects Maven packages
  • Severity?/10Unknown. No CVSS score or vendor rating
  • No patch0/5No signal

What would change the score

  • Would score about 65 if added to CISA KEV
  • Would score about 60 if CISA's SSVC rates exploitation active
  • Would score about 32 if advisories confirm default setups are exposed

What to do

  • Upgrade to a fixed version: 2.0.2.

Timeline

  1. CVE published
  2. First seen by cve.now
  3. Record last updated

Affected versions

Evidence 4

  1. Advisory
  2. Patch
  3. Link
  4. Link

Corrections

None so far.

Something wrong on this page? Report an error. Every fix is listed here.

Questions about CVE-2026-123766

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: cve.now feed data

Which versions are affected by CVE-2026-123766?

org.apache.axis2:axis2-openapi (Maven): from 2.0.1 before 2.0.2.Source: cve.now feed data

How do I fix CVE-2026-123766?

Upgrade to a fixed version: 2.0.2.Source: cve.now feed data