{"data":{"id":"35806cf8-4ed5-45b3-8db2-9be7c3b3d3f4","title":"GHSA-jfrm-rx66-g536: NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()","summary":"NiceGUI's `ui.restructured_text()` renders reStructuredText through Docutils in `prepare_content()` in `nicegui/elements/restructured_text.py` without disabling file insertion or raw directives. An attacker who supplies content to the function can use `include`, `csv-table` with `:file:`, or `raw` with `:file:` to read files readable by the NiceGUI server process, such as `.env` files and mounted secrets. Applications that pass only trusted static strings are not affected.","solution":"Disable unsafe Docutils features in `prepare_content()` by setting `file_insertion_enabled` to False, `raw_enabled` to False, and `_disable_config` to True in `settings_overrides`, alongside the existing `syntax_highlight: 'short'`. This blocks the `include`, `csv-table :file:`, and `raw :file:` directives and local `docutils.conf` overrides.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-jfrm-rx66-g536","publishedAt":"2026-05-18T20:21:59.000Z","cveId":"CVE-2026-45553","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["nicegui@<= 3.11.1 (fixed: 3.12.0)"],"affectedPackageNames":["nicegui"],"affectedPackageRefs":["pypi:nicegui"],"affectedVendors":[],"affectedVendorsRaw":["NiceGUI"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00255,"epssCheckedAt":"2026-11-07T00:12:13.655Z","kevDateAdded":null,"advisoryAliases":["GHSA-jfrm-rx66-g536"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-05-18T20:21:59.000Z","fixReleasedAt":"2026-05-12T14:22:02.317Z","daysToFix":-6,"fixCheckedAt":"2026-10-29T21:35:50.070Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality"],"aiComponentTargeted":"framework","llmSpecific":false,"classifierConfidence":0.7,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"nicegui","fixedVersion":"3.12.0","matchedVersion":"3.12.0","fixReleasedAt":"2026-05-12T14:22:02.317Z","daysToFix":-6,"match":"ecosystem","source":"tracked","status":"found","checkedAt":"2026-10-29T21:35:49.923Z"}]}}