GHSA-gx2m-mcc2-r4p3

Suggest an improvement
Source
https://github.com/advisories/GHSA-gx2m-mcc2-r4p3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-gx2m-mcc2-r4p3/GHSA-gx2m-mcc2-r4p3.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-gx2m-mcc2-r4p3
Aliases
Published
2026-04-24T20:43:30Z
Modified
2026-07-13T07:26:14Z
Severity
  • 5.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L CVSS Calculator
Summary
wlc: print_html outputs API data without HTML escaping
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-04-24T20:43:30Z",
    "nvd_published_at":  "2026-05-08T04:16:18Z",
    "severity":  "MODERATE"
}
References

Affected packages

PyPI / wlc

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.0.0

Affected versions

0.*
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
0.10
1.*
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
1.10
1.11
1.12
1.13
1.14
1.15
1.16.1
1.17.0
1.17.1
1.17.2

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"