CVE Explorer
CVE-2026-25516
NiceGUI is a Python-based UI framework. The ui.markdown() component uses the markdown2 library to convert markdown content to HTML, which is then rendered via innerHTML. By default, markdown2 allows raw HTML to pass through unchanged. This means that if an application renders user-controlled content through ui.markdown(), an attacker can inject malicious HTML containing JavaScript event handlers. Unlike other NiceGUI components that render HTML (ui.html(), ui.chat_message(), ui.interactive_image
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.7.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ae2d32eebab4fb00019e13b38af7bc6238869f1a80601f4ebf9b1e5b53877711 · sha256:5c824d14d14dae7e… · /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:ae2d32eebab4fb00019e13b38af7bc6238869f1a80601f4ebf9b1e5b53877711 · sha256:5c824d14d14dae7e… · /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:ae2d32eebab4fb00019e13b38af7bc6238869f1a80601f4ebf9b1e5b53877711 · sha256:5c824d14d14dae7e… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/zauberzeug/nicegui/commit/f1f7533577875af7d23f161ed3627f73584cb561","tags":["x_refsource_MISC"],"url":"https://github.com/zauberzeug/nicegui/commit/f1f7533577875af7d23f161ed3627f73584cb561"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ae2d32eebab4fb00019e13b38af7bc6238869f1a80601f4ebf9b1e5b53877711 · sha256:5c824d14d14dae7e… · /containers/cna/references/1
{"name":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-v82v-c5x8-w282","tags":["x_refsource_CONFIRM"],"url":"https://github.com/zauberzeug/nicegui/security/advisories/GHSA-v82v-c5x8-w282"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ae2d32eebab4fb00019e13b38af7bc6238869f1a80601f4ebf9b1e5b53877711 · sha256:5c824d14d14dae7e… · /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.