Skip to content
Heist/ feed
Back to feed
Medium

wlc: print_html outputs API data without HTML escaping, enabling stored XSS

Type: advisorySources: OSV

wlc is a Weblate command-line client using Weblate's REST API. Prior to version 2.0.0, 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. This issue has been patched in version 2.0.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-42150
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 20:41 UTC · Revision 1

Source evidence

wlc: print_html outputs API data without HTML escaping, enabling stored XSS

core-osv · Original source

Published 8 May 2026, 03:23 UTC

wlc is a Weblate command-line client using Weblate's REST API. Prior to version 2.0.0, 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. This issue has been patched in version 2.0.0.

osv:CVE-2026-42150
Complete source record
{
  "id": "24579fd8eb256c93b10c0d52a2feb3ad7198b850e86e9ad1357b5d7a0610fbee",
  "url": "https://osv.dev/vulnerability/CVE-2026-42150",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "wlc: print_html outputs API data without HTML escaping, enabling stored XSS",
    "summary": "wlc is a Weblate command-line client using Weblate's REST API. Prior to version 2.0.0, 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. This issue has been patched in version 2.0.0.",
    "evidence": "osv:CVE-2026-42150",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-42150",
      "aliases": [
        "CVE-2026-42150",
        "GHSA-gx2m-mcc2-r4p3",
        "PYSEC-2026-2321"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/weblateorg/wlc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "362798d0ef360d7e23b7a43bbfe4229fd313886c"
                },
                {
                  "fixed": "0f3e58f6d7457b05d48ef40f579a172c4c8b8469"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:weblate:wlc:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0f3e58f6d7457b05d48ef40f579a172c4c8b8469"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "362798d0ef360d7e23b7a43bbfe4229fd313886c"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.0.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.17.2",
            "1.17.1",
            "1.17.0",
            "1.16.1",
            "1.16",
            "1.15",
            "1.14",
            "1.13",
            "1.12",
            "1.11",
            "1.10",
            "1.9",
            "1.8",
            "1.7",
            "1.6",
            "1.5",
            "1.4",
            "1.3",
            "1.2",
            "1.1",
            "1.0",
            "0.10",
            "0.9",
            "0.8",
            "0.7",
            "0.6",
            "0.5",
            "0.4",
            "0.3",
            "0.2",
            "0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-42150.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.531554689Z",
      "provider": "osv",
      "references": [
        "https://github.com/WeblateOrg/wlc/releases/tag/2.0.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42150.json",
        "https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-42150",
        "https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469",
        "https://github.com/WeblateOrg/wlc/pull/1327"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42150.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-42150",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 489982,
  "published_at": "2026-05-08T03:23:12.234+00:00"
}