CVE Explorer
CVE-2025-66469
NiceGUI is a Python-based UI framework. Versions 3.3.1 and below are vulnerable to Reflected XSS through its ui.add_css, ui.add_scss, and ui.add_sass functions. The functions lack proper sanitization or encoding for the JavaScript context they generate. An attacker can break out of the intended <style> or <script> tags by injecting closing tags (e.g., </style> or </script>), allowing for the execution of arbitrary JavaScript. This issue is fixed in version 3.4.0.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"nicegui","vendor":"zauberzeug","versions":[{"status":"affected","version":"< 3.4.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2c875d08029fa36c2bbbe517fcc7bc51bbedf98a4a14feec168a38622cc36bce · sha256:47bb96dcfaa2c529… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2c875d08029fa36c2bbbe517fcc7bc51bbedf98a4a14feec168a38622cc36bce · sha256:47bb96dcfaa2c529… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2c875d08029fa36c2bbbe517fcc7bc51bbedf98a4a14feec168a38622cc36bce · sha256:47bb96dcfaa2c529… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/zauberzeug/nicegui/commit/a8fd25b7d5e23afb1952d0f60a1940e18b5f1ca8","tags":["x_refsource_MISC"],"url":"https://github.com/zauberzeug/nicegui/commit/a8fd25b7d5e23afb1952d0f60a1940e18b5f1ca8"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c875d08029fa36c2bbbe517fcc7bc51bbedf98a4a14feec168a38622cc36bce · sha256:47bb96dcfaa2c529… · /containers/cna/references/1
{"tags":["exploit"],"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-72qc-wxch-74mg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c875d08029fa36c2bbbe517fcc7bc51bbedf98a4a14feec168a38622cc36bce · sha256:47bb96dcfaa2c529… · /containers/adp/0/references/0
{"name":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-72qc-wxch-74mg","tags":["x_refsource_CONFIRM"],"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-72qc-wxch-74mg"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2c875d08029fa36c2bbbe517fcc7bc51bbedf98a4a14feec168a38622cc36bce · sha256:47bb96dcfaa2c529… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.