Advisory

GHSA-gx2m-mcc2-r4p3

Also known as: CVE-2026-42150, PYSEC-2026-2321

Summary

wlc: print_html outputs API data without HTML escaping

Details

Impact
The HTML output format in wlc embeds API response data into HTML without escaping, allowing cross-site scripting when the output is rendered in a browser.

Patches

  • https://github.com/WeblateOrg/wlc/pull/1327

Workarounds
The only vulnerable code path is HTML output which is opt-in.

References
Weblate thanks @fg0x0 for reporting this on GitHub.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-04-24 20:43 UTC
Modified
2026-07-13 07:26 UTC

Affected packages and fixes

wlc

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

  • Fixed version 2.0.0
    pip install --upgrade wlc==2.0.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences