{"id":"CVE-2026-123766","summary":"Apache Axis2/Java: Cross-site scripting in the OpenAPI module's Swagger UI page","details":"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.","modified":"2026-11-14T07:14:36.006192086Z","published":"2026-11-09T10:27:49.362Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123766.json","cna_assigner":"apache","cwe_ids":["CWE-79"]},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2026/11/06/24"},{"type":"WEB","url":"https://repo.maven.apache.org/maven2"},{"type":"ADVISORY","url":"https://axis.apache.org/axis2/java/core/release-notes/2.0.2.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/123xxx/CVE-2026-123766.json"},{"type":"ADVISORY","url":"https://lists.apache.org/thread.html/gzxdd4gobm1kb0jdonmn4n8xhjkwlrbg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-123766"},{"type":"FIX","url":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/apache/axis-axis2-java-core","events":[{"introduced":"24fcdf42bbc70a5dcfa77df9e2f5e9a8c13f4dfe"},{"fixed":"615952f71f56527846163402b93cd278bfd9fbcb"},{"fixed":"1671a68660df39459bf22f7b00309e2a8e782117"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"2.0.1"},{"fixed":"2.0.2"}],"source":"AFFECTED_FIELD","strategy":"StandardRange"},{"range":[{"fixed":"1671a68660df39459bf22f7b00309e2a8e782117"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v2.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-123766.json","vanir_signatures":[{"source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/OpenApiConfiguration.java","function":"applyPropertiesConfiguration"},"deprecated":false,"digest":{"function_hash":"8863468290924947965146098217911662884","length":1825},"id":"CVE-2026-123766-0797937f","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-123766-08b39c10","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/kernel/src/org/apache/axis2/builder/XFormURLEncodedBuilder.java","function":"processDocument"},"deprecated":false,"digest":{"length":1502,"function_hash":"339423310021003794764505773022269915860"}},{"digest":{"function_hash":"281271464670967255632456575693039567113","length":651},"id":"CVE-2026-123766-16932e28","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/transport/http/src/main/java/org/apache/axis2/transport/http/ListingAgent.java","function":"processExplicitSchemaAndWSDL"},"deprecated":false},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java","function":"extractReplyToEPRInformation"},"deprecated":false,"digest":{"function_hash":"11782875152254649764877377624327489775","length":439},"id":"CVE-2026-123766-24fcffd4"},{"target":{"function":"processInternalWSDL","file":"modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPWorker.java"},"deprecated":false,"digest":{"length":573,"function_hash":"182979342304426733199260519809777287142"},"id":"CVE-2026-123766-28d3ab63","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117"},{"id":"CVE-2026-123766-5826f1c5","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"function":"parseRequest","file":"modules/kernel/src/org/apache/axis2/builder/MultipartFormDataBuilder.java"},"deprecated":false,"digest":{"function_hash":"270452491384918559236732566488051805477","length":245}},{"source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPWorker.java","function":"service"},"deprecated":false,"digest":{"length":7762,"function_hash":"32458089943334291123442309878345807980"},"id":"CVE-2026-123766-5bfb4558","signature_type":"Function","signature_version":"v1"},{"signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/kernel/src/org/apache/axis2/builder/XFormURLEncodedBuilder.java"},"deprecated":false,"digest":{"line_hashes":["125746206556421673426780791761962389018","161139720726242069426864046478078216389","49656159732023957626030785976555296823","137391093227614297206393378418122228471","108040071907696411361565071120767689732","57717430207272042610899034120343645850","325069147901067403563820341030045610189"],"threshold":0.9},"id":"CVE-2026-123766-6a92d6f1","signature_type":"Line"},{"source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java","function":"extractFaultToEPRInformation"},"deprecated":false,"digest":{"function_hash":"205352543903348986377824132283603259840","length":439},"id":"CVE-2026-123766-7482c9b2","signature_type":"Function","signature_version":"v1"},{"source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/SwaggerUIHandler.java","function":"handleSwaggerUIRequest"},"deprecated":false,"digest":{"length":605,"function_hash":"248974346927189153060961740949593258769"},"id":"CVE-2026-123766-797ead44","signature_type":"Function","signature_version":"v1"},{"digest":{"line_hashes":["324076666161293392121578658862759109726","195550211078690401264098757092119472082","3400117675742924476108932512314077133","308818653618683912518002081138588117200","167662124423317919222787827723164677684","334115056568196555816270888614141282401","62182438812765051868971078391140894342","20512646008451715497523598270006651117"],"threshold":0.9},"id":"CVE-2026-123766-79a6f196","signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/transport/http/src/main/java/org/apache/axis2/transport/http/HTTPWorker.java"},"deprecated":false},{"target":{"function":"getParameterMap","file":"modules/kernel/src/org/apache/axis2/builder/MultipartFormDataBuilder.java"},"deprecated":false,"digest":{"function_hash":"89779921431966962577421054545888022577","length":525},"id":"CVE-2026-123766-7d710085","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117"},{"id":"CVE-2026-123766-7f3735b6","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"function":"generateSwaggerUIScript","file":"modules/openapi/src/main/java/org/apache/axis2/openapi/SwaggerUIHandler.java"},"deprecated":false,"digest":{"function_hash":"201078202948025038959576015300251140528","length":1532}},{"digest":{"line_hashes":["270161882388876229116836532526518909385","17575940225738080156495481680666318932","128448873960628016158731456162962069487","194705444423595756836920427038885184718","107537308665880788331307626455966470409","61512625632970241223814693892677906931","217755684708820263105380917935368383272","23331033891466988319924016172816121054","109465648408434469445220736900360231997","202854062105271123217585887698052091362","206447735724209666070485078297479242840","17293181955408232378280743700387852411","317992503846569312224535550888852846964","153449649038768561779809979378280708046","28597081325864615528147077398920704476","163581612116810233311658885897556831606","42546466061192566607273811075103162524","56437939595975020385117683176192250365","267118468659392090715644353366671893876","172871018294041703305599022131227678267","104800074054030219360987270685652539624","1294504299232373981035898319280105483","121455871639822162691020002104301851286","133033919024790539799781206986423053516","308377301136528972132119733815859928891","69017448062059757787567793627032279229"],"threshold":0.9},"id":"CVE-2026-123766-86e2810f","signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/kernel/src/org/apache/axis2/builder/MultipartFormDataBuilder.java"},"deprecated":false},{"id":"CVE-2026-123766-9be93b46","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"function":"processDocument","file":"modules/kernel/src/org/apache/axis2/builder/MultipartFormDataBuilder.java"},"deprecated":false,"digest":{"function_hash":"153207889521058594486775962407015599217","length":700}},{"id":"CVE-2026-123766-ad394efa","signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/OpenApiConfiguration.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["241288945823604107170301113223261753718","258249414300402588822804052748487097201","34751140294492568514433906300330762017","219656448857082179407053081347997971155","23104890373672089082907375346756253978","183908169237667673028233568737353760258","45266087806679350608364565875168101387","111828973137008286109492157665794531938","92268547910623551915856422538492072674","216589148186324451153480603635525768827"]}},{"signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/OpenApiSpecGenerator.java"},"deprecated":false,"digest":{"threshold":0.9,"line_hashes":["97177207095908746788393964539491610542","143078538926352204104616972062793180223","274335984275178457972016492281675965613","29007194545876924347156769555756842468","176496501409537654074196308017906275926","148355206534478657529284174468743556830","180655354126802554878343948617238109281","209434902990188802732616455288736311881","297092070554680236168728951395289482391","127285230622067758337718417684162590182","1633204960653005091690033512291616337","184473686994425999164483193552023348142","16053946909898484437568856753148065903","330817035377565688653103203927839699468","157451859839767585385411138419541350876","278930639863979331363502875213409252048","8571604318448507762804731899402882061","108430233487158924419895501351670341816","295624894574593092372947353904106464548","273972415122942417600489778624399691946","163263927981302969669982635340902036414","257336333205455407921351199638574680456","113391623685037107679865993147754008437","5663256172407869867039748873202343156"]},"id":"CVE-2026-123766-ae390564","signature_type":"Line"},{"id":"CVE-2026-123766-b3293f4b","signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/OpenApiSpecGenerator.java","function":"generateMcpResourcesJson"},"deprecated":false,"digest":{"length":1791,"function_hash":"183402470389309050165054802023945867317"}},{"signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/SwaggerUIHandler.java","function":"buildBaseUrl"},"deprecated":false,"digest":{"length":533,"function_hash":"318485336983432956577438576279991924903"},"id":"CVE-2026-123766-b90cf4a5","signature_type":"Function"},{"source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/OpenApiSpecGenerator.java","function":"shouldIncludeService"},"deprecated":false,"digest":{"function_hash":"58823771075598924794156051260925580946","length":617},"id":"CVE-2026-123766-d1089865","signature_type":"Function","signature_version":"v1"},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/OpenApiSpecGenerator.java","function":"createServerList"},"deprecated":false,"digest":{"function_hash":"123209440969227737680178734769138615177","length":835},"id":"CVE-2026-123766-e50f8bf3"},{"deprecated":false,"digest":{"line_hashes":["336525868018732987684019020857748720795","86743483482326542083807543931524492338","225024546513266046922331627410462482968"],"threshold":0.9},"id":"CVE-2026-123766-eb666db8","signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/test/java/org/apache/axis2/openapi/SwaggerUIHandlerTest.java"}},{"signature_type":"Function","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/SwaggerUIHandler.java","function":"generateSwaggerUIHtml"},"deprecated":false,"digest":{"function_hash":"78058134199454795386456393692528671810","length":1742},"id":"CVE-2026-123766-ee298cad"},{"target":{"file":"modules/openapi/src/main/java/org/apache/axis2/openapi/SwaggerUIHandler.java"},"deprecated":false,"digest":{"line_hashes":["125896375600291776042249921279918162081","155340544991341708169978984012879695358","58841397556343782483803524726773121345","194548231174172821127896226508598038476","182310471854586837642326388756177286548","302746327461299117832203939303550864510","298872286509533272309135653343597673461","25143470484904755017766689936640236065","172249491914841119827073498766095587138","228728613999066545496289690724740747908","197347343171248569250488819768405626222","144782044369101929615149379105717394860","191793574573854734230035599739403568099","268366144013311376893858808803868306750","185558827460597652976771210913530112480","196547141918682351571547809030754948244","96201077285269311862784076058518995329","150004273981211640717103086821702855545","9618356243054676912198868346890822482","128412388060536454745146443804526476808","65736794416988624805837675900087682031","74225436163586568692520011316449230067","317455043622768398703631482805946418457","161347565976541007929886457124929283813","132979883028192963577415771603176448254","93579787105313388827517440272060445721","80427523997367421171544814593880565993","296433471065875127768327328621795345189","141947428026546972427661053132284248701","20136638610132415983062175983821184328","117206327776658802457185866504124094715","76966249262320296239915128882327635330","107992849365530466562273201321275632261","74644497133556537093136931483076257775","55803283411461651601712076415858606335","145535899245259998410003297658654536239","169756791787225083246374515188680366749","245354506316194128740588725791119920320","296051345352661589308837005241815079193","306313290318973540406300404632828700825","171508468251166125734292400252812831185","303415475599265839859330912286636811110","302427878904981722010640348007641152202","280269887092715122099117540867027973820","51591232453298176020721086794976442007","218774698994764712519041004362681385836","288631518034601230376635273349902569491","102375107411293080739194777387781238941","186024235690133336274070765858639201597"],"threshold":0.9},"id":"CVE-2026-123766-f1628960","signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117"},{"id":"CVE-2026-123766-f76f2f53","signature_type":"Line","signature_version":"v1","source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/transport/http/src/main/java/org/apache/axis2/transport/http/ListingAgent.java"},"deprecated":false,"digest":{"line_hashes":["186251294412676976748604865201070149247","250961880718377482712591461670540904017","39012310449595070645611912607070082476","3728662395170780683083106472426698002"],"threshold":0.9}},{"source":"https://github.com/apache/axis-axis2-java-core/commit/1671a68660df39459bf22f7b00309e2a8e782117","target":{"file":"modules/addressing/src/org/apache/axis2/handlers/addressing/AddressingInHandler.java"},"deprecated":false,"digest":{"line_hashes":["7766775186345600408047212798126209302","198987918844614550433625162662031177290","14694390345826665012438324161259300691","318078077107426711279673344531777639640","29722379519997581049186346139874838276","24496293483551261055576708298647216812","253314509774366163242840075299288551383","283044649718983887010381478585678064825","294504673053990209253823841229505987897","256011816700264229995278187314509150566"],"threshold":0.9},"id":"CVE-2026-123766-f8669b89","signature_type":"Line","signature_version":"v1"}],"vanir_signatures_modified":"2026-11-14T07:14:36Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}