Every CVESearch/Get API key

GHSA-f36p-42jv-8rh2

Lithium vulnerable to Cross Site Scripting in provided Swagger-UI

8.1 HighFix available

GHSA-f36p-42jv-8rh2 is a high vulnerability (CVSS 8.1) in com.wire:lithium, published September 30, 2022. No source lists public exploit code. Fixed in com.wire:lithium 3.4.2.

What does this mean?
Severity
8.1 HighCVSS 3.1, GitHub Advisories
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists

Description

Impact

A XSS vulnerability in the provided (outdated) Swagger-UI is exploitable in applications using lithium with Swagger-UI enabled. This allows an attacker gain Remote Code Execution (RCE) and potentially exfiltrate secrets in the context of this swagger session.

Patches

The used swagger-ui was updated by switching to the latest version of dropwizard-swagger in 8b9b406d608fe482ec0e7adf8705834bca92d7df

Workarounds

The risk of injected external content can be reduced by setting up a Content-Security-Policy.

References

Credits

We thank Mohit Kumar for reporting this vulnerability!

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
None

Affected packages

Affected packages
PackageAffectedFixed
com.wire:lithium
Maven
before 3.4.2
3.4.2
com.wire.bots:lithium
Maven
before 3.4.2
3.4.2
com.wire:lithium
Maven
before 3.4.2, plus listed versions
3.3.03.3.13.3.23.3.33.3.4
Show 5 moreShow less
3.3.53.3.63.3.73.4.03.4.1
3.4.2
com.wire.bots:lithium
Maven
All versionsNone known

What each source reports

GitHub Advisories Score used8.1

Lithium vulnerable to Cross Site Scripting in provided Swagger-UI

Impact

A XSS vulnerability in the provided (outdated) Swagger-UI is exploitable in applications using lithium with Swagger-UI enabled. This allows an attacker gain Remote Code Execution (RCE) and potentially exfiltrate secrets in the context of this swagger session.

Patches

The used swagger-ui was updated by switching to the latest version of dropwizard-swagger in 8b9b406d608fe482ec0e7adf8705834bca92d7df

Workarounds

The risk of injected external content can be reduced by setting up a Content-Security-Policy.

References

Credits

We thank Mohit Kumar for reporting this vulnerability!

Record
GHSA-f36p-42jv-8rh2
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV8.1

Lithium vulnerable to Cross Site Scripting in provided Swagger-UI

Impact

A XSS vulnerability in the provided (outdated) Swagger-UI is exploitable in applications using lithium with Swagger-UI enabled. This allows an attacker gain Remote Code Execution (RCE) and potentially exfiltrate secrets in the context of this swagger session.

Patches

The used swagger-ui was updated by switching to the latest version of dropwizard-swagger in 8b9b406d608fe482ec0e7adf8705834bca92d7df

Workarounds

The risk of injected external content can be reduced by setting up a Content-Security-Policy.

References

Credits

We thank Mohit Kumar for reporting this vulnerability!

Record
GHSA-f36p-42jv-8rh2
CVSS 3.1
8.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Weakness
CWE-79
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open