baserCMS is a website development framework. Prior to 5.3.0, getAuthenticationService permits an Api/Admin session authentication fallback based on the Referer header, although operator accounts have an Admin auth prefix and cannot obtain an Api/Admin JWT. An authenticated operator can therefore access /baser/api/admin/ endpoints whose permission.php entries have auth => true, including /baser/api/admin/baser-core/site_configs/view.json, even when the corresponding administrative functionality is restricted. This can disclose administrator-restricted configuration information. This issue is fixed in 5.3.0.
https://github.com/baserproject/basercms/security/advisories/GHSA-wgvx-x5g3-9v29
https://github.com/baserproject/basercms/releases/tag/5.3.0
https://github.com/baserproject/basercms/commit/464227b8770704076ee6eddd4bd464c184786eca
https://github.com/baserproject/basercms/commit/2d7f74d3d5d584b9478c210016b81a1b7c30e9fb