{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:weblate:wlc:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.0.0"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "362798d0ef360d7e23b7a43bbfe4229fd313886c"
            },
            {
              "fixed": "0f3e58f6d7457b05d48ef40f579a172c4c8b8469"
            }
          ],
          "repo": "https://github.com/weblateorg/wlc",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-gx2m-mcc2-r4p3"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42150.json"
  },
  "details": "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.",
  "id": "CVE-2026-42150",
  "modified": "2026-07-08T05:39:28.247583017Z",
  "published": "2026-05-08T03:23:12.234Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/WeblateOrg/wlc/releases/tag/2.0.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42150.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/WeblateOrg/wlc/security/advisories/GHSA-gx2m-mcc2-r4p3"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42150"
    },
    {
      "type": "FIX",
      "url": "https://github.com/WeblateOrg/wlc/commit/0f3e58f6d7457b05d48ef40f579a172c4c8b8469"
    },
    {
      "type": "FIX",
      "url": "https://github.com/WeblateOrg/wlc/pull/1327"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "wlc: print_html outputs API data without HTML escaping, enabling stored XSS"
}