{"id":"CVE-2026-100672","published":"2026-09-26T14:16:50.970","lastModified":"2026-09-28T17:17:44.670","description":"The Comments plugin (getgrav/grav-plugin-comments) for Grav CMS through version 1.2.10 registers an admin handler that returns comment data as JSON without any authentication check. The handler branches on isAdmin(), which only indicates that the admin service is registered on the current route rather than that the visitor is authenticated, and it echoes the JSON and calls exit() during the plugins stage, before the classic Admin plugin would render its login screen. On a site using the classic Admin plugin with Comments enabled (the default), an unauthenticated remote attacker can request /admin/comments/page:<n> (e.g. page:0.001) and retrieve every comment from the last 7 days, including each commenter's email address and the absolute server filesystem path of the data file. Sites running the Grav 2.0 Admin Next stack (admin2 + api) are not affected via this path. The issue is fixed in 1.2.11, which requires an authenticated user with admin.comments or admin.super and removes the absolute filePath from the response.","cvssScore":7.5,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","cwes":["CWE-306"],"vendors":[],"products":[],"references":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-3cq9-f4pf-hq59","tags":[]},{"url":"https://www.vulncheck.com/advisories/grav-plugin-comments-before-1.2.11-unauthenticated-information-disclosure","tags":[]},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-3cq9-f4pf-hq59","tags":[]}],"exploitRefs":[{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-3cq9-f4pf-hq59","tags":[]},{"url":"https://github.com/getgrav/grav/security/advisories/GHSA-3cq9-f4pf-hq59","tags":[]}],"hasPoc":true,"ai":{"summary":"The Grav CMS Comments plugin fails to authenticate requests to its admin API endpoint, allowing unauthenticated attackers to access comment data including email addresses and server file paths. This represents a significant information disclosure vulnerability that can expose user contact information and system internals.","exploitability":"Exploitation is straightforward with no prerequisites; attackers can simply request /admin/comments/page:<n> to retrieve comments without authentication.","blast_radius":"The vulnerability affects default Grav installations with classic Admin plugin enabled, potentially exposing email addresses and server paths of all comments from the last 7 days to unauthenticated remote attackers.","remediation":"Upgrade to version 1.2.11 or later which requires authenticated admin.user or admin.super permissions and removes absolute file paths from responses.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["information-disclosure","auth-bypass","web"],"model":"garnet-coder","analyzedAt":"2026-10-18T10:29:38.047Z"}}