{"items":[{"id":"NVI-00007694","kind":"vulnerability","title":"Grav's Twig processing allowing dangerous PHP functions by default","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-g8r4-p96j-xfxc","CVE-2021-29440"],"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.11 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"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-1b2437f1a433b5e57d6626266a1fa08e"],"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-17T03:47:38.757Z","value":"6.5 MEDIUM (2.0)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-54ab062f1fc33105ba58e8939dfa91f0"},{"kind":"CVSS","as_of":"2026-06-17T03:47:38.757Z","value":"8.4 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-54ab062f1fc33105ba58e8939dfa91f0"},{"kind":"CVSS","as_of":"2026-06-17T03:47:38.757Z","value":"7.2 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-54ab062f1fc33105ba58e8939dfa91f0"},{"kind":"EPSS","as_of":"2026-11-03T12:00:27.000Z","value":"29.896%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.98206. Missing scores are unknown.","source_id":"sr-1b2437f1a433b5e57d6626266a1fa08e"}],"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-e4f4f16a1c393c5a382325ae8e4e8397","url":"https://github.com/advisories/GHSA-g8r4-p96j-xfxc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-g8r4-p96j-xfxc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.413Z"},{"id":"sr-54ab062f1fc33105ba58e8939dfa91f0","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29440","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2021-29440","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T22:54:02.896Z"},{"id":"sr-1b2437f1a433b5e57d6626266a1fa08e","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-2021-29440","publisher":"FIRST EPSS","observed_at":"2026-11-03T17:42:56.080Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Impact\n\nTwig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. \nAs the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance.\n\n### Patches\n\nThe issue was addressed by preventing dangerous functions from being called in Twig templates. A configuration option has been added to manually allow arbitrary PHP functions (`system.twig.safe_functions`) and filters (`system.twig.safe_filters`). \n\nFutures major versions of Grav may disable this functionality by default. \n\n### Workarounds\n\nBlocking access to the `/admin` path from untrusted sources will reduce the probability of exploitation. \n\n### References\n\n- https://portswigger.net/research/server-side-template-injection\n- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n  - The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n  - The maintainers, by opening an issue on this repository.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.11"]}],"null_published_at":"2026-11-07T14:01:55.395Z","source_updated_at":"2026-05-04T08:45:55.155Z","source_disclosed_at":"2021-04-16T19:53:12.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.413Z"},{"id":"NVI-00007694","kind":"vulnerability","title":"Grav's Twig processing allowing dangerous PHP functions by default","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-g8r4-p96j-xfxc","CVE-2021-29440"],"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.11 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"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-45d67fb99e5fdea20de2b2749cc2ad3b"],"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-17T03:47:38.757Z","value":"6.5 MEDIUM (2.0)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-54ab062f1fc33105ba58e8939dfa91f0"},{"kind":"CVSS","as_of":"2026-06-17T03:47:38.757Z","value":"8.4 HIGH (3.1)","meaning":"security-advisories@github.com severity; no combined Null risk score.","source_id":"sr-54ab062f1fc33105ba58e8939dfa91f0"},{"kind":"CVSS","as_of":"2026-06-17T03:47:38.757Z","value":"7.2 HIGH (3.1)","meaning":"nvd@nist.gov severity; no combined Null risk score.","source_id":"sr-54ab062f1fc33105ba58e8939dfa91f0"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"29.896%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.98203. Missing scores are unknown.","source_id":"sr-45d67fb99e5fdea20de2b2749cc2ad3b"}],"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-e4f4f16a1c393c5a382325ae8e4e8397","url":"https://github.com/advisories/GHSA-g8r4-p96j-xfxc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-g8r4-p96j-xfxc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.413Z"},{"id":"sr-54ab062f1fc33105ba58e8939dfa91f0","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-29440","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2021-29440","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T22:54:02.896Z"},{"id":"sr-45d67fb99e5fdea20de2b2749cc2ad3b","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-2021-29440","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:03.704Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Impact\n\nTwig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. \nAs the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance.\n\n### Patches\n\nThe issue was addressed by preventing dangerous functions from being called in Twig templates. A configuration option has been added to manually allow arbitrary PHP functions (`system.twig.safe_functions`) and filters (`system.twig.safe_filters`). \n\nFutures major versions of Grav may disable this functionality by default. \n\n### Workarounds\n\nBlocking access to the `/admin` path from untrusted sources will reduce the probability of exploitation. \n\n### References\n\n- https://portswigger.net/research/server-side-template-injection\n- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n  - The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n  - The maintainers, by opening an issue on this repository.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.11"]}],"null_published_at":"2026-11-05T19:10:23.271Z","source_updated_at":"2026-05-04T08:45:55.155Z","source_disclosed_at":"2021-04-16T19:53:12.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.413Z"},{"id":"NVI-00007694","kind":"vulnerability","title":"Grav's Twig processing allowing dangerous PHP functions by default","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-g8r4-p96j-xfxc","CVE-2021-29440"],"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.11 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"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-45d67fb99e5fdea20de2b2749cc2ad3b"],"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":"29.896%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.98203. Missing scores are unknown.","source_id":"sr-45d67fb99e5fdea20de2b2749cc2ad3b"}],"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-e4f4f16a1c393c5a382325ae8e4e8397","url":"https://github.com/advisories/GHSA-g8r4-p96j-xfxc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-g8r4-p96j-xfxc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.413Z"},{"id":"sr-45d67fb99e5fdea20de2b2749cc2ad3b","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-2021-29440","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:03.704Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Impact\n\nTwig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. \nAs the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance.\n\n### Patches\n\nThe issue was addressed by preventing dangerous functions from being called in Twig templates. A configuration option has been added to manually allow arbitrary PHP functions (`system.twig.safe_functions`) and filters (`system.twig.safe_filters`). \n\nFutures major versions of Grav may disable this functionality by default. \n\n### Workarounds\n\nBlocking access to the `/admin` path from untrusted sources will reduce the probability of exploitation. \n\n### References\n\n- https://portswigger.net/research/server-side-template-injection\n- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n  - The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n  - The maintainers, by opening an issue on this repository.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.11"]}],"null_published_at":"2026-10-31T23:18:17.233Z","source_updated_at":"2026-05-04T08:45:55.155Z","source_disclosed_at":"2021-04-16T19:53:12.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.413Z"},{"id":"NVI-00007694","kind":"vulnerability","title":"Grav's Twig processing allowing dangerous PHP functions by default","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-g8r4-p96j-xfxc","CVE-2021-29440"],"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.11 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"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-e4f4f16a1c393c5a382325ae8e4e8397","url":"https://github.com/advisories/GHSA-g8r4-p96j-xfxc","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-g8r4-p96j-xfxc","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:42:20.413Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-e4f4f16a1c393c5a382325ae8e4e8397"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"### Impact\n\nTwig processing of static pages can be enabled in the front matter by any administrative user allowed to create or edit pages. \nAs the Twig processor runs unsandboxed, this behavior can be used to gain arbitrary code execution and elevate privileges on the instance.\n\n### Patches\n\nThe issue was addressed by preventing dangerous functions from being called in Twig templates. A configuration option has been added to manually allow arbitrary PHP functions (`system.twig.safe_functions`) and filters (`system.twig.safe_filters`). \n\nFutures major versions of Grav may disable this functionality by default. \n\n### Workarounds\n\nBlocking access to the `/admin` path from untrusted sources will reduce the probability of exploitation. \n\n### References\n\n- https://portswigger.net/research/server-side-template-injection\n- https://blog.sonarsource.com/grav-cms-code-execution-vulnerabilities\n\n### For more information\n\nIf you have any questions or comments about this advisory, you can contact:\n  - The original reporters, by sending an email to vulnerability.research [at] sonarsource.com;\n  - The maintainers, by opening an issue on this repository.","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 1.7.11"]}],"null_published_at":"2026-10-31T22:13:18.630Z","source_updated_at":"2026-05-04T08:45:55.155Z","source_disclosed_at":"2021-04-16T19:53:12.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.413Z"}],"next_cursor":null,"snapshot_revision":"40769"}