{"id":"CVE-2025-53354","sourceIdentifier":"security-advisories@github.com","published":"2025-10-03T20:15:33.000","lastModified":"2026-10-08T22:10:00.563","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"NiceGUI es un framework de UI basado en Python. Las versiones 2.24.2 e inferiores están en riesgo de cross-site scripting (XSS) cuando los desarrolladores renderizan entrada de usuario sin escapar en el DOM usando ui.html(). NiceGUI no aplicaba la sanitización de HTML o JavaScript, por lo que las aplicaciones que combinan directamente componentes como ui.input() con ui.html() o ui.chat_message con contenido HTML sin escapar pueden permitir a los atacantes ejecutar JavaScript arbitrario en el navegador del usuario. Las aplicaciones que no pasan entrada no confiable a ui.html() no se ven afectadas. Este problema está solucionado en la versión 3.0.0."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"zauberzeug","product":"nicegui","versions":[{"version":"< 3.0.0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","baseScore":6.1,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.7}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-10-03T19:41:55.791075Z","id":"CVE-2025-53354","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/zauberzeug/nicegui/commit/4673dc35c94a0c7339e2164378b0977332e60775","source":"security-advisories@github.com"},{"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-8c95-hpq2-w46f","source":"security-advisories@github.com"}]}