weblateorg/wlc · Security

wlc: print_html outputs API data without HTML escaping

GHSA ID
GHSA-gx2m-mcc2-r4p3
CVE ID
CVE-2026-42150
Severity
medium
Published
Updated
CVSS
5.1 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L
CVSS v3
5.1 · CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L

Description

Impact

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.

Patches

Workarounds

The only vulnerable code path is HTML output which is opt-in.

References

Weblate thanks @fg0x0 for reporting this on GitHub.

CWEs

References