{"id":"CVE-2026-42150","published":"2026-05-08T03:23:12Z","modified":"2026-05-08T21:28:38Z","title":"wlc: print_html outputs API data without HTML escaping, enabling stored XSS","vendor":"WeblateOrg","product":"wlc","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00174,"percentile":0.07011,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/WeblateOrg/wlc/pull/1327","tags":["x_refsource_MISC"]},{"url":"https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469","tags":["x_refsource_MISC"]},{"url":"https://github.com/WeblateOrg/wlc/releases/tag/2.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":5.0,"factors":[{"name":"EPSS percentile","points":1.4},{"name":"CVSS severity","points":3.57}]},"vendorSlug":"weblateorg","affectedVersions":[{"vendor":"WeblateOrg","product":"wlc","versions":["< 2.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-08T14:32:14.516536Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"wlc","vulnerableRanges":["<2.0.0"],"patched":["2.0.0"],"from":["GHSA-gx2m-mcc2-r4p3","PYSEC-2026-2321"],"provenance":"source"}],"summary":{"text":"The wlc command-line client for Weblate, prior to version 2.0.0, has a flaw in its HTML output format where data returned by Weblate's REST API is embedded into HTML without escaping, leading to cross-site scripting. An attacker could exploit this when the generated HTML is rendered in a browser, which requires the attacker to have planted content in the API data, a privileged user to be logged in, and a user to view the output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:33Z"},"euvd":{"id":"EUVD-2026-28501","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-weblateorg-wlc-cve-2026-23535","parents":[{"from":"CVE-2026-23535","to":"CVE-2026-42150","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["wlc/main.py"],"commits":["https://github.com/WeblateOrg/wlc/commit/216e691c6e50abae97fe2e4e4f21501bf49a585f","https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469"],"basis":"rarely changed file"}]}],"children":[{"from":"CVE-2026-42150","to":"CVE-2026-62364","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:wlc","fromFixed":"2.0.0","toFixed":"2.0.1","daysApart":137},{"kind":"same-code","provenance":"machine","files":["wlc/main.py"],"commits":["https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469","https://github.com/WeblateOrg/wlc/commit/15cbdfc5b2c6183ef6864ea758091643a0ce6c89"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-22250","published":"2026-01-12","fixed":"1.17.0","kev":false},{"cve":"CVE-2026-22251","published":"2026-01-12","fixed":"1.17.0","kev":false},{"cve":"CVE-2026-23535","published":"2026-01-16","fixed":"1.17.2","kev":false},{"cve":"CVE-2026-42150","published":"2026-05-08","fixed":"2.0.0","kev":false},{"cve":"CVE-2026-62364","published":"2026-09-22","fixed":"2.0.1","kev":false}],"package":"PyPI:wlc"}}