All reports
Medium

wlc: print_html outputs API data without HTML escaping

Affected versions

Version ranges need review.

PyPIwlc
Affected versions
<2.0.0
Fixed version
2.0.0
PyPIwlc
Affected versions
< 2.0.0
Fixed version
2.0.0

Exploitation

CVE-2026-42150

Probability of exploitation in the next 30 days: 0.17%

FIRST EPSS · 2026-11-23

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.

Links

Credits

  • fg0x0
  • nijel