<?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-14T18:33:14.797338+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/euvd-2026-318573</id>
    <title>EUVD-2026-318573</title>
    <updated>2026-10-14T18:33:14.799541+00:00</updated>
    <content>EUVD-2026-318573</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-318573"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-44738</id>
    <title>fkie_cve-2026-44738</title>
    <updated>2026-10-14T18:33:14.799571+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>Grav is a file-based Web platform. Prior to 2.0.0-rc.2, the Twig sandbox allow-list permits any user with the admin.pages role to call config.toArray() from within a page body, dumping the entire merged site configuration — including all plugin secrets (SMTP passwords, AWS keys, OAuth client secrets, API tokens) — into the rendered HTML. No administrator privileges are required. This vulnerability is fixed in 2.0.0-rc.2.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-44738"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-j274-39qw-32c9</id>
    <title>GHSA-j274-39qw-32c9 — Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()</title>
    <updated>2026-10-14T18:33:14.799604+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: getgrav/grav</p>
<p>## Summary</p>
<p>The Twig sandbox allow-list permits any user with the `admin.pages` role to call `config.toArray()` from within a page body, dumping the entire merged site configuration — including all plugin secrets (SMTP passwords, AWS keys, OAuth client secrets, API tokens) — into the rendered HTML. No administrator privileges are required.</p>
<p>## Details</p>
<p>The Twig sandbox allow-list in `system/config/security.yaml` explicitly permits `Config::toArray()` for the `Grav\Common\Config\Config` class:</p>
<p>```yaml
- class: 'Grav\Common\Config\Config'
  methods: 'get, toarray, value, default, offsetget, offsetexists'
```</p>
<p>The `config` object — which holds the full merged configuration tree including every key under `plugins.*` — is injected into every sandboxed render in `system/src/Grav/Common/Twig/Twig.php` (line 292):</p>
<p>```php
$twig_vars = [..., 'config' =&gt; $config, ...]
```</p>
<p>Any editor with `admin.pages` can save a page with `process.twig: true` in the frontmatter and the following payload in the body:</p>
<p>```
{{ config.toArray()|json_encode|raw }}
```</p>
<p>When the page is rendered, the full config tree is dumped as JSON in the HTML, including all plugin secrets stored under `user/config/plugins/*.yaml`.</p>
<p>## PoC</p>
<p>```bash
# Step 1 — Get login nonce
NONCE=$(curl -sc /tmp/cookies.txt http://TARGET/admin \
  | grep -oP '(?&lt;=name="login-nonce" value=")[^"]+')</p>
<p># Step 2 — Login as editor (no admin.super)
curl -sc /tmp/cookies.txt -b /tmp/cookies.txt \
  -X POST http://TARGET/admin \
  --data-urlen…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-j274-39qw-32c9"/>
  </entry>
</feed>
