{"items":[{"id":"NVI-00002135","kind":"vulnerability","title":"Grav is Vulnerable to Security Sandbox Bypass with SSTI (Server Side Template Injection)","revision":4,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-gjc5-8cfh-653x","CVE-2025-66299"],"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 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"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-16623cdac6da5542daaf7c8aca09f7c0"],"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":"CVSS","as_of":"2026-09-26T00:10:00.127Z","value":"8.8 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-868456b39e38804de6b2ccb0113088d1"},{"kind":"EPSS","as_of":"2026-11-04T12:03:12.000Z","value":"0.652%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.51363. Missing scores are unknown.","source_id":"sr-16623cdac6da5542daaf7c8aca09f7c0"}],"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-0c7a2adc6d6c79b342e9040c94ec7a86","url":"https://github.com/advisories/GHSA-gjc5-8cfh-653x","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-gjc5-8cfh-653x","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.418Z"},{"id":"sr-868456b39e38804de6b2ccb0113088d1","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66299","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2025-66299","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:29.811Z"},{"id":"sr-16623cdac6da5542daaf7c8aca09f7c0","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-2025-66299","publisher":"FIRST EPSS","observed_at":"2026-11-04T17:58:50.306Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nGrav CMS is vulnerable to a Server-Side Template Injection (SSTI) that allows any authenticated user with editor permissions to execute arbitrary code on the remote server, bypassing the existing security sandbox.\n\n## Details\n\nGrav CMS uses a custom sandbox to protect the powerful Twig methods such as `registerUndefinedFilterCallback()`. These methods are designed to prevent SSTI attacks by denying the execution of dangerous PHP functions (e.g., `exec()`, `passthru()`, `system()`, etc.) within Twig template directives.\n\nThe current defense mechanism relies on a blacklist of prohibited functions (PHP, Twig), checked through the `isDangerousFunction()` method in the file `system/src/Grav/Common/Twig.php`:\n\n```php\n$this->twig->registerUndefinedFilterCallback(function (string $name) use ($config) {\n    $allowed = $config->get('system.twig.safe_filters');\n    if (is_array($allowed) && in_array($name, $allowed, true) && function_exists($name)) {\n        return new TwigFilter($name, $name);\n    }\n    if ($config->get('system.twig.undefined_filters')) {\n        if (function_exists($name)) {\n            if (!Utils::isDangerousFunction($name)) {\n                user_error(\"PHP fu","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-11-08T19:53:38.933Z","source_updated_at":"2026-09-10T03:50:58.677Z","source_disclosed_at":"2025-12-02T00:36:36.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.418Z"},{"id":"NVI-00002135","kind":"vulnerability","title":"Grav is Vulnerable to Security Sandbox Bypass with SSTI (Server Side Template Injection)","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected.","NVD lastModified does not establish freshness of every associated CPE record."],"lifecycle":"active","identifiers":["GHSA-gjc5-8cfh-653x","CVE-2025-66299"],"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 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"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-42e15645ded51818ca9e2a383f9adc16"],"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":"CVSS","as_of":"2026-09-26T00:10:00.127Z","value":"8.8 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-868456b39e38804de6b2ccb0113088d1"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.608%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.49121. Missing scores are unknown.","source_id":"sr-42e15645ded51818ca9e2a383f9adc16"}],"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-0c7a2adc6d6c79b342e9040c94ec7a86","url":"https://github.com/advisories/GHSA-gjc5-8cfh-653x","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-gjc5-8cfh-653x","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.418Z"},{"id":"sr-868456b39e38804de6b2ccb0113088d1","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66299","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2025-66299","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T01:40:29.811Z"},{"id":"sr-42e15645ded51818ca9e2a383f9adc16","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-2025-66299","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nGrav CMS is vulnerable to a Server-Side Template Injection (SSTI) that allows any authenticated user with editor permissions to execute arbitrary code on the remote server, bypassing the existing security sandbox.\n\n## Details\n\nGrav CMS uses a custom sandbox to protect the powerful Twig methods such as `registerUndefinedFilterCallback()`. These methods are designed to prevent SSTI attacks by denying the execution of dangerous PHP functions (e.g., `exec()`, `passthru()`, `system()`, etc.) within Twig template directives.\n\nThe current defense mechanism relies on a blacklist of prohibited functions (PHP, Twig), checked through the `isDangerousFunction()` method in the file `system/src/Grav/Common/Twig.php`:\n\n```php\n$this->twig->registerUndefinedFilterCallback(function (string $name) use ($config) {\n    $allowed = $config->get('system.twig.safe_filters');\n    if (is_array($allowed) && in_array($name, $allowed, true) && function_exists($name)) {\n        return new TwigFilter($name, $name);\n    }\n    if ($config->get('system.twig.undefined_filters')) {\n        if (function_exists($name)) {\n            if (!Utils::isDangerousFunction($name)) {\n                user_error(\"PHP fu","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-11-03T17:49:21.358Z","source_updated_at":"2026-09-10T03:50:58.677Z","source_disclosed_at":"2025-12-02T00:36:36.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Source facts changed; compare the preserved prior revision.","null_first_observed_at":"2026-10-31T21:42:20.418Z"},{"id":"NVI-00002135","kind":"vulnerability","title":"Grav is Vulnerable to Security Sandbox Bypass with SSTI (Server Side Template Injection)","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-gjc5-8cfh-653x","CVE-2025-66299"],"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 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"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-42e15645ded51818ca9e2a383f9adc16"],"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.608%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.49121. Missing scores are unknown.","source_id":"sr-42e15645ded51818ca9e2a383f9adc16"}],"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-0c7a2adc6d6c79b342e9040c94ec7a86","url":"https://github.com/advisories/GHSA-gjc5-8cfh-653x","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-gjc5-8cfh-653x","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.418Z"},{"id":"sr-42e15645ded51818ca9e2a383f9adc16","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-2025-66299","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.373Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nGrav CMS is vulnerable to a Server-Side Template Injection (SSTI) that allows any authenticated user with editor permissions to execute arbitrary code on the remote server, bypassing the existing security sandbox.\n\n## Details\n\nGrav CMS uses a custom sandbox to protect the powerful Twig methods such as `registerUndefinedFilterCallback()`. These methods are designed to prevent SSTI attacks by denying the execution of dangerous PHP functions (e.g., `exec()`, `passthru()`, `system()`, etc.) within Twig template directives.\n\nThe current defense mechanism relies on a blacklist of prohibited functions (PHP, Twig), checked through the `isDangerousFunction()` method in the file `system/src/Grav/Common/Twig.php`:\n\n```php\n$this->twig->registerUndefinedFilterCallback(function (string $name) use ($config) {\n    $allowed = $config->get('system.twig.safe_filters');\n    if (is_array($allowed) && in_array($name, $allowed, true) && function_exists($name)) {\n        return new TwigFilter($name, $name);\n    }\n    if ($config->get('system.twig.undefined_filters')) {\n        if (function_exists($name)) {\n            if (!Utils::isDangerousFunction($name)) {\n                user_error(\"PHP fu","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-10-31T23:18:17.221Z","source_updated_at":"2026-09-10T03:50:58.677Z","source_disclosed_at":"2025-12-02T00:36:36.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.418Z"},{"id":"NVI-00002135","kind":"vulnerability","title":"Grav is Vulnerable to Security Sandbox Bypass with SSTI (Server Side Template Injection)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-gjc5-8cfh-653x","CVE-2025-66299"],"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 1.8.0-beta.27 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"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-0c7a2adc6d6c79b342e9040c94ec7a86","url":"https://github.com/advisories/GHSA-gjc5-8cfh-653x","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-gjc5-8cfh-653x","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.418Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-0c7a2adc6d6c79b342e9040c94ec7a86"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\nGrav CMS is vulnerable to a Server-Side Template Injection (SSTI) that allows any authenticated user with editor permissions to execute arbitrary code on the remote server, bypassing the existing security sandbox.\n\n## Details\n\nGrav CMS uses a custom sandbox to protect the powerful Twig methods such as `registerUndefinedFilterCallback()`. These methods are designed to prevent SSTI attacks by denying the execution of dangerous PHP functions (e.g., `exec()`, `passthru()`, `system()`, etc.) within Twig template directives.\n\nThe current defense mechanism relies on a blacklist of prohibited functions (PHP, Twig), checked through the `isDangerousFunction()` method in the file `system/src/Grav/Common/Twig.php`:\n\n```php\n$this->twig->registerUndefinedFilterCallback(function (string $name) use ($config) {\n    $allowed = $config->get('system.twig.safe_filters');\n    if (is_array($allowed) && in_array($name, $allowed, true) && function_exists($name)) {\n        return new TwigFilter($name, $name);\n    }\n    if ($config->get('system.twig.undefined_filters')) {\n        if (function_exists($name)) {\n            if (!Utils::isDangerousFunction($name)) {\n                user_error(\"PHP fu","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.8.0-beta.27"]}],"null_published_at":"2026-10-31T21:54:04.897Z","source_updated_at":"2026-09-10T03:50:58.677Z","source_disclosed_at":"2025-12-02T00:36:36.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.418Z"}],"next_cursor":null,"snapshot_revision":"42594"}