Vulnerability DatabaseGHSA-f36p-42jv-8rh2

GHSA-f36p-42jv-8rh2
Java vulnerability analysis and mitigation

Overview

A Cross-Site Scripting (XSS) vulnerability was identified in Lithium's provided Swagger-UI component, tracked as GHSA-f36p-42jv-8rh2. The vulnerability affects Lithium versions below 3.4.2 for both com.wire.bots:lithium and com.wire:lithium Maven packages. This security issue was discovered and reported by Mohit Kumar, published on September 27, 2022, and received a high severity rating with a CVSS score of 8.1 (GitHub Advisory).

Technical details

The vulnerability is characterized by a CVSS v3.1 base score of 8.1 with the following metrics: Network attack vector, Low attack complexity, No privileges required, User interaction Required, Unchanged scope, High impact on both Confidentiality and Integrity, and No impact on Availability (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N). The vulnerability specifically affects the outdated Swagger-UI component included in the Lithium package (GitHub Advisory).

Impact

The vulnerability enables attackers to potentially achieve Remote Code Execution (RCE) and exfiltrate secrets within the context of the Swagger session when Swagger-UI is enabled. This poses significant risks to the confidentiality and integrity of affected systems (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched by updating the Swagger-UI component through an upgrade to the latest version of dropwizard-swagger in commit 8b9b406. As a workaround, organizations can reduce the risk of injected external content by implementing a Content-Security-Policy. The fixed version is 3.4.2 for affected packages (GitHub Commit, GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-65091CRITICAL10
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2025-70974CRITICAL10
  • JavaJava
  • com.alibaba:fastjson
NoYesJan 09, 2026
CVE-2026-22244HIGH8.5
  • JavaJava
  • org.open-metadata:platform
NoYesJan 08, 2026
CVE-2025-65090MEDIUM5.3
  • JavaJava
  • org.xwiki.contrib:macro-fullcalendar-pom
NoYesJan 10, 2026
CVE-2026-0707MEDIUM5.3
  • JavaJava
  • org.keycloak:keycloak-parent
NoNoJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management