<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-06T22:48:13.840175+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-45553</id>
    <title>CVE-2026-45553 — NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()</title>
    <updated>2026-10-06T22:48:13.841699+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> zauberzeug nicegui</p>
<p>NiceGUI is a Python-based UI framework. Prior to version 3.12.0, ui.restructured_text() renders reStructuredText server-side with Docutils without disabling file insertion directives. When a NiceGUI application passes attacker-controlled content to ui.restructured_text(), an attacker can use standard Docutils directives (include, csv-table with :file:, raw with :file:) to read local files readable by the NiceGUI server process. Applications that only pass trusted static strings to ui.restructured_text() are not affected. This issue has been patched in version 3.12.0.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-45553"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-jfrm-rx66-g536</id>
    <title>GHSA-jfrm-rx66-g536 — NiceGUI: Local file disclosure via Docutils file insertion in ui.restructured_text()</title>
    <updated>2026-10-06T22:48:13.841771+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: nicegui</p>
<p>### Summary</p>
<p>`ui.restructured_text()` renders reStructuredText server-side with Docutils without disabling file insertion directives.</p>
<p>When a NiceGUI application passes attacker-controlled content to `ui.restructured_text()`, an attacker can use standard Docutils directives (`include`, `csv-table` with `:file:`, `raw` with `:file:`) to read local files readable by the NiceGUI server process.</p>
<p>Applications that only pass trusted static strings to `ui.restructured_text()` are not affected.</p>
<p>### Details</p>
<p>The affected component is the reStructuredText renderer:</p>
<p>- File: `nicegui/elements/restructured_text.py`
- Function: `prepare_content()`</p>
<p>`prepare_content()` renders user-supplied reStructuredText through Docutils:</p>
<p>```python
html = publish_parts(
    remove_indentation(content),
    writer_name='html4',
    settings_overrides={'syntax_highlight': 'short'},
)
```</p>
<p>The Docutils call only sets `syntax_highlight`. It does not disable file insertion or raw directives, so Docutils processes directives that read local files and embed their contents into the generated HTML before it is returned to the browser. Frontend sanitization cannot prevent this because the file has already been read server-side.</p>
<p>A minimal vulnerable usage pattern is any page that forwards untrusted input into `ui.restructured_text()`, e.g. content taken from query parameters, form fields, or other user-controlled sources.</p>
<p>### Impact</p>
<p>Local file disclosure. An attacker who can supply reStructuredText content…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-jfrm-rx66-g536"/>
  </entry>
</feed>
