{"items":[{"id":"NVI-00006842","kind":"vulnerability","title":"grav Server-side Template Injection (SSTI) mitigation bypass","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-9436-3gmp-4f53","CVE-2023-37897"],"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.7.42.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"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-292bb8d1758891729d63ade4023eb4ca"],"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-06-17T06:08:51.333Z","value":"7.2 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-962386c8a8aeb52d0b76108834bebecd"},{"kind":"CVSS","as_of":"2026-06-17T06:08:51.333Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-962386c8a8aeb52d0b76108834bebecd"},{"kind":"EPSS","as_of":"2026-11-01T12:00:16.000Z","value":"2.809%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.86513. Missing scores are unknown.","source_id":"sr-292bb8d1758891729d63ade4023eb4ca"}],"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-c4782d1378a90086f2afeb06dd628775","url":"https://github.com/advisories/GHSA-9436-3gmp-4f53","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-9436-3gmp-4f53","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.678Z"},{"id":"sr-962386c8a8aeb52d0b76108834bebecd","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37897","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2023-37897","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T00:58:44.011Z"},{"id":"sr-292bb8d1758891729d63ade4023eb4ca","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-2023-37897","publisher":"FIRST EPSS","observed_at":"2026-11-01T14:27:48.610Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nThe fix for SSTI using `|map`, `|filter` and `|reduce` twigs implemented in the commit 71bbed1 introduces bypass of the denylist due to incorrect return value from `isDangerousFunction()`, which allows to execute the payload prepending double backslash (`\\\\`) \n\n### Details\nThe `isDangerousFunction()` check in version 1.7.42 and onwards retuns `false` value instead of `true` when the `\\` symbol is found in the `$name`.\n\n```php\n...\n        if (strpos($name, \"\\\\\") !== false) {\n            return false;\n        }\n\n        if (in_array($name, $commandExecutionFunctions)) {\n            return true;\n        }\n...\n```\nBased on the code where the function is used, it is expected that any dangerous condition would return `true`\n```php\n    /**\n     * @param Environment $env\n     * @param array $array\n     * @param callable|string $arrow\n     * @return array|CallbackFilterIterator\n     * @throws RuntimeError\n     */\n    function mapFunc(Environment $env, $array, $arrow)\n    {\n        if (!$arrow instanceof \\Closure && !is_string($arrow) || Utils::isDangerousFunction($arrow)) {\n            throw new R","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.42.2"]}],"null_published_at":"2026-11-06T15:18:11.447Z","source_updated_at":"2024-02-16T08:16:43.971Z","source_disclosed_at":"2023-07-19T22:11:07.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:10.678Z"},{"id":"NVI-00006842","kind":"vulnerability","title":"grav Server-side Template Injection (SSTI) mitigation bypass","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-9436-3gmp-4f53","CVE-2023-37897"],"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.7.42.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"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-566e0b337d1046a54ad498a2f340af17"],"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-06-17T06:08:51.333Z","value":"7.2 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-962386c8a8aeb52d0b76108834bebecd"},{"kind":"CVSS","as_of":"2026-06-17T06:08:51.333Z","value":"8.8 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-962386c8a8aeb52d0b76108834bebecd"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"2.809%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.86513. Missing scores are unknown.","source_id":"sr-566e0b337d1046a54ad498a2f340af17"}],"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-c4782d1378a90086f2afeb06dd628775","url":"https://github.com/advisories/GHSA-9436-3gmp-4f53","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-9436-3gmp-4f53","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.678Z"},{"id":"sr-962386c8a8aeb52d0b76108834bebecd","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-37897","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2023-37897","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T00:58:44.011Z"},{"id":"sr-566e0b337d1046a54ad498a2f340af17","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-2023-37897","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:03.704Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nThe fix for SSTI using `|map`, `|filter` and `|reduce` twigs implemented in the commit 71bbed1 introduces bypass of the denylist due to incorrect return value from `isDangerousFunction()`, which allows to execute the payload prepending double backslash (`\\\\`) \n\n### Details\nThe `isDangerousFunction()` check in version 1.7.42 and onwards retuns `false` value instead of `true` when the `\\` symbol is found in the `$name`.\n\n```php\n...\n        if (strpos($name, \"\\\\\") !== false) {\n            return false;\n        }\n\n        if (in_array($name, $commandExecutionFunctions)) {\n            return true;\n        }\n...\n```\nBased on the code where the function is used, it is expected that any dangerous condition would return `true`\n```php\n    /**\n     * @param Environment $env\n     * @param array $array\n     * @param callable|string $arrow\n     * @return array|CallbackFilterIterator\n     * @throws RuntimeError\n     */\n    function mapFunc(Environment $env, $array, $arrow)\n    {\n        if (!$arrow instanceof \\Closure && !is_string($arrow) || Utils::isDangerousFunction($arrow)) {\n            throw new R","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.42.2"]}],"null_published_at":"2026-11-04T18:04:07.064Z","source_updated_at":"2024-02-16T08:16:43.971Z","source_disclosed_at":"2023-07-19T22:11:07.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:10.678Z"},{"id":"NVI-00006842","kind":"vulnerability","title":"grav Server-side Template Injection (SSTI) mitigation bypass","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-9436-3gmp-4f53","CVE-2023-37897"],"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.7.42.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"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-566e0b337d1046a54ad498a2f340af17"],"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":"2.809%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.86513. Missing scores are unknown.","source_id":"sr-566e0b337d1046a54ad498a2f340af17"}],"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-c4782d1378a90086f2afeb06dd628775","url":"https://github.com/advisories/GHSA-9436-3gmp-4f53","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-9436-3gmp-4f53","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.678Z"},{"id":"sr-566e0b337d1046a54ad498a2f340af17","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-2023-37897","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:03.704Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nThe fix for SSTI using `|map`, `|filter` and `|reduce` twigs implemented in the commit 71bbed1 introduces bypass of the denylist due to incorrect return value from `isDangerousFunction()`, which allows to execute the payload prepending double backslash (`\\\\`) \n\n### Details\nThe `isDangerousFunction()` check in version 1.7.42 and onwards retuns `false` value instead of `true` when the `\\` symbol is found in the `$name`.\n\n```php\n...\n        if (strpos($name, \"\\\\\") !== false) {\n            return false;\n        }\n\n        if (in_array($name, $commandExecutionFunctions)) {\n            return true;\n        }\n...\n```\nBased on the code where the function is used, it is expected that any dangerous condition would return `true`\n```php\n    /**\n     * @param Environment $env\n     * @param array $array\n     * @param callable|string $arrow\n     * @return array|CallbackFilterIterator\n     * @throws RuntimeError\n     */\n    function mapFunc(Environment $env, $array, $arrow)\n    {\n        if (!$arrow instanceof \\Closure && !is_string($arrow) || Utils::isDangerousFunction($arrow)) {\n            throw new R","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.42.2"]}],"null_published_at":"2026-11-01T01:45:38.500Z","source_updated_at":"2024-02-16T08:16:43.971Z","source_disclosed_at":"2023-07-19T22:11:07.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:10.678Z"},{"id":"NVI-00006842","kind":"vulnerability","title":"grav Server-side Template Injection (SSTI) mitigation bypass","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-9436-3gmp-4f53","CVE-2023-37897"],"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.7.42.2 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"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-c4782d1378a90086f2afeb06dd628775","url":"https://github.com/advisories/GHSA-9436-3gmp-4f53","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-9436-3gmp-4f53","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:10.678Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-c4782d1378a90086f2afeb06dd628775"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Summary\nThe fix for SSTI using `|map`, `|filter` and `|reduce` twigs implemented in the commit 71bbed1 introduces bypass of the denylist due to incorrect return value from `isDangerousFunction()`, which allows to execute the payload prepending double backslash (`\\\\`) \n\n### Details\nThe `isDangerousFunction()` check in version 1.7.42 and onwards retuns `false` value instead of `true` when the `\\` symbol is found in the `$name`.\n\n```php\n...\n        if (strpos($name, \"\\\\\") !== false) {\n            return false;\n        }\n\n        if (in_array($name, $commandExecutionFunctions)) {\n            return true;\n        }\n...\n```\nBased on the code where the function is used, it is expected that any dangerous condition would return `true`\n```php\n    /**\n     * @param Environment $env\n     * @param array $array\n     * @param callable|string $arrow\n     * @return array|CallbackFilterIterator\n     * @throws RuntimeError\n     */\n    function mapFunc(Environment $env, $array, $arrow)\n    {\n        if (!$arrow instanceof \\Closure && !is_string($arrow) || Utils::isDangerousFunction($arrow)) {\n            throw new R","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.42.2"]}],"null_published_at":"2026-10-31T22:13:10.088Z","source_updated_at":"2024-02-16T08:16:43.971Z","source_disclosed_at":"2023-07-19T22:11:07.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:10.678Z"}],"next_cursor":null,"snapshot_revision":"42594"}