{"items":[{"id":"NVI-00008065","kind":"vulnerability","title":"Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-j274-39qw-32c9","CVE-2026-44738"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.0-rc.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-f4694f8ce013c4337a3f15bc0e034169"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null},{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-9407aa7e276acca178d8ead626f4938a"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.276%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.20016. Missing scores are unknown.","source_id":"sr-9407aa7e276acca178d8ead626f4938a"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-f4694f8ce013c4337a3f15bc0e034169","url":"https://github.com/advisories/GHSA-j274-39qw-32c9","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-j274-39qw-32c9","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.434Z"},{"id":"sr-9407aa7e276acca178d8ead626f4938a","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-44738","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.378Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-f4694f8ce013c4337a3f15bc0e034169"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nThe 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.\n\n## Details\n\nThe Twig sandbox allow-list in `system/config/security.yaml` explicitly permits `Config::toArray()` for the `Grav\\Common\\Config\\Config` class:\n\n```yaml\n- class: 'Grav\\Common\\Config\\Config'\n  methods: 'get, toarray, value, default, offsetget, offsetexists'\n```\n\nThe `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):\n\n```php\n$twig_vars = [..., 'config' => $config, ...]\n```\n\nAny editor with `admin.pages` can save a page with `process.twig: true` in the frontmatter and the following payload in the body:\n\n```\n{{ config.toArray()|json_encode|raw }}\n```\n\nWhen the page is rendered, the full config tree is dumped as JSON in the HTML, including all plugin secrets stored under `user/config/plugins/*.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.0-rc.2"]}],"null_published_at":"2026-11-04T02:53:03.131Z","source_updated_at":"2026-09-10T03:51:06.175Z","source_disclosed_at":"2026-05-13T15:29:40.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-10-31T21:42:20.434Z"},{"id":"NVI-00008065","kind":"vulnerability","title":"Grav: Twig sandbox allows editor-role users to exfiltrate all plugin secrets via Config::toArray()","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-j274-39qw-32c9","CVE-2026-44738"],"plain_summary":"OSV carries this publisher advisory for getgrav/grav. This is an aggregated source copy; consult the original publisher and compare update dates.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"The original advisory lists fixed boundaries 2.0.0-rc.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-f4694f8ce013c4337a3f15bc0e034169"],"action_type":"vendor_patch","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-f4694f8ce013c4337a3f15bc0e034169","url":"https://github.com/advisories/GHSA-j274-39qw-32c9","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-j274-39qw-32c9","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.434Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-f4694f8ce013c4337a3f15bc0e034169"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nThe 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.\n\n## Details\n\nThe Twig sandbox allow-list in `system/config/security.yaml` explicitly permits `Config::toArray()` for the `Grav\\Common\\Config\\Config` class:\n\n```yaml\n- class: 'Grav\\Common\\Config\\Config'\n  methods: 'get, toarray, value, default, offsetget, offsetexists'\n```\n\nThe `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):\n\n```php\n$twig_vars = [..., 'config' => $config, ...]\n```\n\nAny editor with `admin.pages` can save a page with `process.twig: true` in the frontmatter and the following payload in the body:\n\n```\n{{ config.toArray()|json_encode|raw }}\n```\n\nWhen the page is rendered, the full config tree is dumped as JSON in the HTML, including all plugin secrets stored under `user/config/plugins/*.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.0-rc.2"]}],"null_published_at":"2026-10-31T22:13:22.828Z","source_updated_at":"2026-09-10T03:51:06.175Z","source_disclosed_at":"2026-05-13T15:29:40.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T21:42:20.434Z"}],"next_cursor":null,"snapshot_revision":"42594"}