{"items":[{"id":"NVI-00007081","kind":"vulnerability","title":"Grav: UserInterface offsetget/offsetexists allow-listed in Twig sandbox let editor-authored content leak hashed_password and 2FA secrets via offsetGet()","revision":5,"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-3jhr-mxmx-38cx","CVE-2026-76839"],"plain_summary":"GitHub lists this reviewed advisory for getgrav/grav. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-1ef8ac8c09422d0a6956d99190582a42"],"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},{"summary":"The original advisory lists fixed boundaries 2.0.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"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":[{"kind":"CVSS","as_of":"2026-09-17T20:27:32.000Z","value":"7.7 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-06184660abd02c06bf720c18fb7c2878"},{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"6.5 MEDIUM (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-72c455b92227d60883dd0225cd312069"},{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"8.7 HIGH (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-72c455b92227d60883dd0225cd312069"},{"kind":"EPSS","as_of":"2026-11-01T12:00:16.000Z","value":"0.342%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.27734. Missing scores are unknown.","source_id":"sr-1ef8ac8c09422d0a6956d99190582a42"}],"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-06184660abd02c06bf720c18fb7c2878","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T14:29:49.409Z"},{"id":"sr-cdc871309b92560302e7391a5b7c693e","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.657Z"},{"id":"sr-72c455b92227d60883dd0225cd312069","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76839","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-76839","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:58.008Z"},{"id":"sr-1ef8ac8c09422d0a6956d99190582a42","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-76839","publisher":"FIRST EPSS","observed_at":"2026-11-01T14:28:32.286Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-06184660abd02c06bf720c18fb7c2878"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["<= 2.0.15"]},{"certainty":"source_listed","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-11-04T18:04:03.135Z","source_updated_at":"2026-09-17T20:27:32.000Z","source_disclosed_at":"2026-09-17T20:27:30.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:41:49.657Z"},{"id":"NVI-00007081","kind":"vulnerability","title":"Grav: UserInterface offsetget/offsetexists allow-listed in Twig sandbox let editor-authored content leak hashed_password and 2FA secrets via offsetGet()","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-3jhr-mxmx-38cx","CVE-2026-76839"],"plain_summary":"GitHub lists this reviewed advisory for getgrav/grav. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-767c016e22742fbb753d4de713e1cbc5"],"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},{"summary":"The original advisory lists fixed boundaries 2.0.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"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":[{"kind":"CVSS","as_of":"2026-09-17T20:27:32.000Z","value":"7.7 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-06184660abd02c06bf720c18fb7c2878"},{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"6.5 MEDIUM (3.1)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-72c455b92227d60883dd0225cd312069"},{"kind":"CVSS","as_of":"2026-10-12T15:10:00.207Z","value":"8.7 HIGH (4.0)","meaning":"disclosure@vulncheck.com severity; no combined Null risk score.","source_id":"sr-72c455b92227d60883dd0225cd312069"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.342%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.27736. Missing scores are unknown.","source_id":"sr-767c016e22742fbb753d4de713e1cbc5"}],"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-06184660abd02c06bf720c18fb7c2878","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T14:29:49.409Z"},{"id":"sr-cdc871309b92560302e7391a5b7c693e","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.657Z"},{"id":"sr-72c455b92227d60883dd0225cd312069","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76839","basis":"official_catalog","notes":"This product uses data from the NVD API but is not endorsed or certified by the NVD.","title":"CVE-2026-76839","publisher":"NIST National Vulnerability Database","observed_at":"2026-11-01T07:24:58.008Z"},{"id":"sr-767c016e22742fbb753d4de713e1cbc5","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-76839","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.385Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-06184660abd02c06bf720c18fb7c2878"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["<= 2.0.15"]},{"certainty":"source_listed","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-11-02T20:21:10.343Z","source_updated_at":"2026-09-17T20:27:32.000Z","source_disclosed_at":"2026-09-17T20:27:30.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:41:49.657Z"},{"id":"NVI-00007081","kind":"vulnerability","title":"Grav: UserInterface offsetget/offsetexists allow-listed in Twig sandbox let editor-authored content leak hashed_password and 2FA secrets via offsetGet()","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3jhr-mxmx-38cx","CVE-2026-76839"],"plain_summary":"GitHub lists this reviewed advisory for getgrav/grav. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-767c016e22742fbb753d4de713e1cbc5"],"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},{"summary":"The original advisory lists fixed boundaries 2.0.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"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":[{"kind":"CVSS","as_of":"2026-09-17T20:27:32.000Z","value":"7.7 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-06184660abd02c06bf720c18fb7c2878"},{"kind":"EPSS","as_of":"2026-10-31T12:00:27.000Z","value":"0.342%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.27736. Missing scores are unknown.","source_id":"sr-767c016e22742fbb753d4de713e1cbc5"}],"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-06184660abd02c06bf720c18fb7c2878","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database","observed_at":"2026-11-01T14:29:49.409Z"},{"id":"sr-cdc871309b92560302e7391a5b7c693e","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.657Z"},{"id":"sr-767c016e22742fbb753d4de713e1cbc5","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-76839","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.385Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-06184660abd02c06bf720c18fb7c2878"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["<= 2.0.15"]},{"certainty":"source_listed","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-11-02T10:00:37.151Z","source_updated_at":"2026-09-17T20:27:32.000Z","source_disclosed_at":"2026-09-17T20:27:30.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:41:49.657Z"},{"id":"NVI-00007081","kind":"vulnerability","title":"Grav: UserInterface offsetget/offsetexists allow-listed in Twig sandbox let editor-authored content leak hashed_password and 2FA secrets via offsetGet()","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3jhr-mxmx-38cx","CVE-2026-76839"],"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.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"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-767c016e22742fbb753d4de713e1cbc5"],"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.342%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.27736. Missing scores are unknown.","source_id":"sr-767c016e22742fbb753d4de713e1cbc5"}],"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-cdc871309b92560302e7391a5b7c693e","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.657Z"},{"id":"sr-767c016e22742fbb753d4de713e1cbc5","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-76839","publisher":"FIRST EPSS","observed_at":"2026-10-31T22:06:15.385Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-11-01T19:14:01.602Z","source_updated_at":"2026-09-17T20:45:05.208Z","source_disclosed_at":"2026-09-17T20:27:30.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:41:49.657Z"},{"id":"NVI-00007081","kind":"vulnerability","title":"Grav: UserInterface offsetget/offsetexists allow-listed in Twig sandbox let editor-authored content leak hashed_password and 2FA secrets via offsetGet()","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-3jhr-mxmx-38cx","CVE-2026-76839"],"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.16 for getgrav/grav. Confirm the publisher’s latest guidance.","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"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-cdc871309b92560302e7391a5b7c693e","url":"https://github.com/advisories/GHSA-3jhr-mxmx-38cx","basis":"vendor_advisory","notes":"GitHub-origin advisory, CC-BY-4.0; OSV is an aggregate copy, not independent corroboration.","title":"GHSA-3jhr-mxmx-38cx","publisher":"GitHub Advisory Database via OSV","observed_at":"2026-10-31T21:41:49.657Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-cdc871309b92560302e7391a5b7c693e"],"technology":"getgrav/grav","known_exclusions":[],"conditions_summary":"## Summary\n\n`system/config/security.yaml`'s Twig sandbox policy allow-lists `offsetget` and\n`offsetexists` for `Grav\\Common\\User\\Interfaces\\UserInterface`. The concrete\n`Grav\\Common\\User\\DataUser\\User` class does not filter which fields `offsetGet()`\nreturns, so any sandboxed template with access to a `User` object can read\n`hashed_password`, `secret` (2FA seed), and `twofa_secret` directly, bypassing the\nredaction Grav's own code applies everywhere else.\n\n## The core evidence, from Grav's own code\n\n`system/src/Grav/Common/User/DataUser/User.php`:\n\n```php\n/**\n * {@inheritdoc}\n * Override to filter out sensitive fields like password hashes\n */\npublic function jsonSerialize(): array\n{\n    $items = parent::jsonSerialize();\n\n    // Security: Remove sensitive fields that should never be exposed to frontend\n    unset($items['hashed_password']);\n    unset($items['secret']);         // 2FA secret\n    unset($items['twofa_secret']);   // Alternative 2FA field name\n\n    return $items;\n}\n\npublic function offsetGet($offset)\n{\n    $value = parent::offsetGet($offset);\n    // only special-cases 'authorized', nothing else -- no redaction\n    return $value;\n}\n```\n\n`system/config/security.yaml`:\n\n```","public_affected_ranges":["ECOSYSTEM: introduced 0; fixed 2.0.16"]}],"null_published_at":"2026-10-31T22:13:14.311Z","source_updated_at":"2026-09-17T20:45:05.208Z","source_disclosed_at":"2026-09-17T20:27:30.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:41:49.657Z"}],"next_cursor":null,"snapshot_revision":"42594"}