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
Workarounds
The only vulnerable code path is HTML output which is opt-in.
References
Weblate thanks @fg0x0 for reporting this on GitHub.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | wlc | < 2.0.0 | 2.0.0 |
References
- https://github.com/WeblateOrg/wlc/releases/tag/2.0.0
- https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3
- https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469
- https://github.com/WeblateOrg/wlc/pull/1327
- https://nvd.nist.gov/vuln/detail/CVE-2026-42150
- https://github.com/WeblateOrg/wlc
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
wlc- Disclosed
- 24.04.2026
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2321 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-gx2m-mcc2-r4p3 - CC BY 4.0
Vulnerability history: wlc
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 01.2026 09.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 1
- Medium 2
- Low 2
Disclosures per year
- 2026: 5
-
wlc: print_html outputs API data without HTML escaping this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.