CVE-2026-100672

grav-plugin-comments before 1.2.11 Unauthenticated Information Disclosure

Published Sep 26, 2026 CVSS 4.0 · 8.7 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
CPEs cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
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'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 28, 2026, 4:32 PM
Reserved
Sep 26, 2026, 2:34 AM
Status
Deferred
Published
Sep 26, 2026, 2:16 PM
Modified
Sep 28, 2026, 5:17 PM