CVE-2025-53354CWE-79cross-site-scripting

CVE-2025-53354

Medium · published October 4, 2025

CVSS v3.1
6.1
EPSS
0%
Percentile
9.8
In the wild
Unconfirmed
What it is

NiceGUI is a Python-based UI framework. Versions 2.24.2 and below are at risk for Cross-Site Scripting (XSS) when developers render unescaped user input into the DOM using ui.html(). NiceGUI did not enforce HTML or JavaScript sanitization, so applications that directly combine components like ui.input() with ui.html() or ui.chat_message with HTML content without escaping may allow attackers to execute arbitrary JavaScript in the user’s browser. Applications that do not pass untrusted input into ui.html() are not affected. This issue is fixed in version 3.0.0.

The record
Technical detail
CVSS v3.1
6.1 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00204 · 9.8th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2025-10-04T00:15Z
References (2)
EPSS history
Timeline
  • 03 OCT 19:32Z
    NiceGUI is vulnerable to Reflected XSS attack
    cvelistv5