{"id":"CVE-2026-42150","summary":"wlc: print_html outputs API data without HTML escaping, enabling stored XSS","details":"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.","aliases":["GHSA-gx2m-mcc2-r4p3"],"modified":"2026-07-08T08:05:13.128129298Z","published":"2026-05-08T03:23:12.234Z","database_specific":{"cwe_ids":["CWE-79"],"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42150.json"},"references":[{"type":"WEB","url":"https://github.com/WeblateOrg/wlc/releases/tag/2.0.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42150.json"},{"type":"ADVISORY","url":"https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42150"},{"type":"FIX","url":"https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469"},{"type":"FIX","url":"https://github.com/WeblateOrg/wlc/pull/1327"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/weblateorg/wlc","events":[{"introduced":"0"},{"fixed":"362798d0ef360d7e23b7a43bbfe4229fd313886c"},{"fixed":"0f3e58f6d7457b05d48ef40f579a172c4c8b8469"}],"database_specific":{"cpe":"cpe:2.3:a:weblate:wlc:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"2.0.0"}],"source":["CPE_RANGE","REFERENCES"]}}],"versions":["1.17.2","1.17.1","1.17.0","1.16.1","1.16","1.15","1.14","1.13","1.12","1.11","1.10","1.9","1.8","1.7","1.6","1.5","1.4","1.3","1.2","1.1","1.0","0.10","0.9","0.8","0.7","0.6","0.5","0.4","0.3","0.2","0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42150.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L"}]}