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.
Published: 2026-09-26
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: Information Disclosure
Action: Patch Now
AI Analysis

Impact

The Comments plugin registers an admin handler that outputs recent comment data as JSON without verifying that the requestor is authenticated. The handler only checks that the admin service is registered on the current route, not that the visitor has logged in, and exits before the standard Admin login screen is rendered. An attacker who can send an HTTP request to /admin/comments/page:<n> can retrieve all comments posted in the last seven days, including each commenter's email address and the absolute filesystem path to the comment data file. This leads to a disclosure of sensitive information, such as personally identifiable information and server structure, which constitutes a high‑severity confidentiality breach (CWE‑306).

Affected Systems

Affected systems are Grav CMS sites running the getgrav/grav-plugin-comments plugin at version 1.2.10 or earlier. The vulnerability exists only when the classic Admin plugin is enabled, as that stack registers the necessary admin service. Sites on Grav 2.0 Admin Next stack (admin2 + API) are not affected, because the handler route is absent. The plugin is installed on all Grav installations via the plugin directory, so any site that has not upgraded the plugin to a fixed version is at risk.

Risk and Exploitability

The CVSS score is 8.7, indicating a high impact vulnerability. EPSS is not available, so the current attack probability is unknown, but the vulnerability can be exercised simply by requesting a public URL, and it is not listed in CISA’s KEV catalog. The likely attack vector is unauthenticated remote HTTP request to the specific admin endpoint. Because the component bypasses authentication, an attacker can obtain confidential data without further privileges. Prompt remediation is advised.

Generated by OpenCVE AI on September 26, 2026 at 15:32 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Grav Comments plugin to version 1.2.11 or later where the handler requires authentication and strips the absolute file path from responses.
  • Configure web‑server or reverse‑proxy rules to block unauthenticated access to the /admin/comments URI, ensuring only logged‑in admins can hit that endpoint.
  • Review site logs for attempts to fetch /admin/comments and set up alerts to detect repeated unauthenticated requests.

Generated by OpenCVE AI on September 26, 2026 at 15:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 28 Sep 2026 17:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sun, 27 Sep 2026 16:45:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*

Sat, 26 Sep 2026 13:30:00 +0000

Type Values Removed Values Added
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.
Title grav-plugin-comments before 1.2.11 Unauthenticated Information Disclosure
First Time appeared Getgrav
Getgrav grav
Weaknesses CWE-306
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
Vendors & Products Getgrav
Getgrav grav
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-09-28T16:32:14.948Z

Reserved: 2026-09-26T02:34:55.635Z

Link: CVE-2026-100672

cve-icon Vulnrichment

Updated: 2026-09-28T16:32:09.443Z

cve-icon NVD

Status : Deferred

Published: 2026-09-26T14:16:50.970

Modified: 2026-09-28T17:17:44.670

Link: CVE-2026-100672

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T17:00:14Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function