Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. craftcms/cms
  4. ›
  5. GHSA-rvmm-v933-jgxq

GHSA-rvmm-v933-jgxq: Craft CMS: Missing authorization check allows non-admin control panel users access to user registration metrics

August 6, 2026

ChartsController::actionGetNewUsersData() at /actions/charts/get-new-users-data is missing a requirePermission('viewUsers') authorization check. Any authenticated control panel user, regardless of permissions beyond accessCp, can POST to this endpoint to receive time-series user registration counts for the entire site or for an arbitrary user group ID.

The viewUsers permission is consistently required throughout the control panel before exposing user-related data, but this action enforces only the base accessCp check inherited from the framework.

Each call returns the total count of users who joined the specified group in the requested period.

References

  • github.com/advisories/GHSA-rvmm-v933-jgxq
  • github.com/craftcms/cms/commit/9ee53efc1314e6aba32771c66a13e072a246f4ce
  • github.com/craftcms/cms/releases/tag/4.18.1
  • github.com/craftcms/cms/releases/tag/5.10.3
  • github.com/craftcms/cms/security/advisories/GHSA-rvmm-v933-jgxq

Code Behaviors & Features

Detect and mitigate GHSA-rvmm-v933-jgxq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.0.0-RC1 before 4.18.1, all versions starting from 5.0.0-RC1 before 5.10.3

Fixed versions

  • 4.18.1
  • 5.10.3

Solution

Upgrade to versions 4.18.1, 5.10.3 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

packagist/craftcms/cms/GHSA-rvmm-v933-jgxq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:15 +0000.