Read the docs
TI-2022-26654 Aliases GHSA-f36p-42jv-8rh2

Lithium vulnerable to Cross Site Scripting in provided Swagger-UI

Priority LOW 38CWE-79Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
Cross-site scripting
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-79.

Summary

### 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](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy). ### References * https://www.vidocsecurity.com/blog/hacking-swagger-ui-from-xss-to-account-takeovers/ ### Credits We thank [Mohit Kumar](https://www.linkedin.com/in/mohit-kumar-4ab6b3bb) for reporting this vulnerability!

Why it matters now

Fix Fixed com.wire:lithium (Maven): 3.4.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—com.wire:lithium (Maven)before 3.4.23.4.2Patch availableGHSA-f36p-42jv-8rh2
—com.wire.bots:lithium (Maven)all versions—No fix listedGHSA-f36p-42jv-8rh2
  • com.wire:lithium (Maven) Vendor— Affected before 3.4.2 Fixed in 3.4.2 Patch available GHSA-f36p-42jv-8rh2
  • com.wire.bots:lithium (Maven) Vendor— Affected all versions Fixed in — No fix listed GHSA-f36p-42jv-8rh2

Remediation

  • Fix · GHSA-f36p-42jv-8rh2 com.wire:lithium (Maven) Fixed in 3.4.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-f36p-42jv-8rh2

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences