CVE-2026-42150
MEDIUM 4.8CVSS 3.1wlc: print_html outputs API data without HTML escaping
wlc is a Weblate command-line client using Weblate's REST API. Prior to version 2.0.0, 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. This issue has been patched in version 2.0.0.
- Published
- 8 May 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-gx2m-mcc2-r4p3PYSEC-2026-2321
- Sources
- NVDJSONOSV GHSA-gx2m-mcc2-r4p3JSONOSV PYSEC-2026-2321JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.1 | CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | weblate | wlccpe:2.3:a:weblate:wlc:*:*:*:*:*:*:*:* |
< 2.0.0 | 2.0.0 |
| OSV | PyPI | wlc | < 2.0.0 | 2.0.0 |
References
- https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469 · Patch, WEB, FIX
- https://github.com/WeblateOrg/wlc/pull/1327 · Issue Tracking, Patch, WEB, FIX
- https://github.com/WeblateOrg/wlc/releases/tag/2.0.0 · Release Notes, WEB, ADVISORY
- https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3 · Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-42150 · ADVISORY
- https://github.com/WeblateOrg/wlc · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 8 May 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 8 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Apr 2026)