{"id":"GHSA-gx2m-mcc2-r4p3","summary":"wlc: print_html outputs API data without HTML escaping","details":"### Impact\nThe 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.\n\n\n### Patches\n* https://github.com/WeblateOrg/wlc/pull/1327\n\n### Workarounds\nThe only vulnerable code path is HTML output which is opt-in.\n\n### References\nWeblate thanks @fg0x0 for reporting this on GitHub.","aliases":["CVE-2026-42150","PYSEC-2026-2321"],"modified":"2026-07-13T07:26:14.296094134Z","published":"2026-04-24T20:43:30Z","database_specific":{"github_reviewed_at":"2026-04-24T20:43:30Z","nvd_published_at":"2026-05-08T04:16:18Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"WEB","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":"WEB","url":"https://github.com/WeblateOrg/wlc/pull/1327"},{"type":"WEB","url":"https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469"},{"type":"PACKAGE","url":"https://github.com/WeblateOrg/wlc"},{"type":"WEB","url":"https://github.com/WeblateOrg/wlc/releases/tag/2.0.0"}],"affected":[{"package":{"name":"wlc","ecosystem":"PyPI","purl":"pkg:pypi/wlc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"versions":["0.0","0.1","0.10","0.2","0.3","0.4","0.5","0.6","0.7","0.8","0.9","1.0","1.1","1.10","1.11","1.12","1.13","1.14","1.15","1.16.1","1.17.0","1.17.1","1.17.2","1.2","1.3","1.4","1.5","1.6","1.7","1.8","1.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gx2m-mcc2-r4p3/GHSA-gx2m-mcc2-r4p3.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L"}]}