{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.13.3"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "1.13.3"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "766c9327177885dc233c0e39d0735136256563e1"
            }
          ],
          "repo": "https://github.com/emqx/mqttx",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126495.json"
  },
  "details": "MQTTX desktop through 1.13.3 contains a stored cross-site scripting vulnerability that allows attackers to inject script by publishing malicious MQTT topic names or payloads rendered unescaped in tooltips. Attackers controlling a broker or publishing to subscribed topics can execute script in the Electron renderer, which has nodeIntegration enabled, when victims hover Topic Tree or JSON tree nodes.",
  "id": "CVE-2026-126495",
  "modified": "2026-11-15T02:30:30.974594895Z",
  "published": "2026-11-11T00:58:48.843Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126495.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126495"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mqttx-through-1.13.3-stored-xss-via-topic-tree-and-json-tree-tooltips"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/emqx/MQTTX/issues/2180"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/emqx/MQTTX"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/emqx/MQTTX/blob/v1.13.3/src/background.ts#L276-L283"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/emqx/MQTTX/blob/v1.13.3/src/widgets/JSONViewer.vue#L175-L184"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/emqx/MQTTX/blob/v1.13.3/src/widgets/TreeView.vue#L195-L226"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "MQTTX through 1.13.3 Stored XSS via Topic Tree and JSON Tree Tooltips"
}