CVE-2026-42150: wlc: print_html outputs API data without HTML escaping
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.
Published Apr 24, 2026 · Updated May 12, 2026
Affected packages
wlc
- Ecosystem
- PyPI
- Affected
- < 2.0.0
- Fixed in
- 2.0.0
- Check
pip show wlc
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to fg0x0, nijel.
References
- https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3
- https://github.com/WeblateOrg/wlc/pull/1327
- https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469
- https://nvd.nist.gov/vuln/detail/CVE-2026-42150
- https://github.com/WeblateOrg/wlc/releases/tag/2.0.0
- https://github.com/advisories/GHSA-gx2m-mcc2-r4p3
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More PyPI vulnerabilities
All PyPI entriesCVE-2026-62364
wlc may disclose API tokens to project-configured URLs
low2.3Sep 22, 2026CVE-2026-23535
Weblate wlc path traversal vulnerability: Unsanitized API slugs in download command
high8.0Jan 16, 2026CVE-2026-22250
Weblate command-line client susceptible to SSL verification skip
low2.5Jan 12, 2026CVE-2026-22251
Weblate wlc has insecure API key configuration
medium5.3Jan 12, 2026
