{"id":"CVE-2026-42150","aliases":["GHSA-gx2m-mcc2-r4p3","PYSEC-2026-2321"],"title":"wlc: print_html outputs API data without HTML escaping","summary":"wlc: print_html outputs API data without HTML escaping","severity":"medium","cvss":5.1,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L","vendor":"wlc","product":"wlc","ecosystem":"pip","affected":["wlc < 2.0.0"],"patched":["wlc 2.0.0"],"published":"2026-04-24","updated":"2026-07-13","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-gx2m-mcc2-r4p3","references":[{"url":"https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42150"},{"url":"https://github.com/WeblateOrg/wlc/pull/1327"},{"url":"https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469"},{"url":"https://github.com/WeblateOrg/wlc"},{"url":"https://github.com/WeblateOrg/wlc/releases/tag/2.0.0"}],"tags":["osv","pip"],"epss":0.00174,"epssPercentile":0.07091,"ingestedAt":"2026-07-13T18:57:58.668Z","slug":"CVE-2026-42150","body":"## Overview\n\n### 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.\n\n## Affected packages\n\n- `wlc < 2.0.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `wlc 2.0.0`","depth":"sunlit","depthScore":28,"depthScoreParts":{"impact":28.1,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}