Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @strapi/plugin-content-manager
  4. ›
  5. CVE-2023-37263

CVE-2023-37263: Strapi's field level permissions not being respected in relationship title

September 13, 2023

Summary

Field level permissions not being respected in relationship title. If I have a relationship title and the relationship shows a field I don’t have permission to see I will still be visible.

Details

No RBAC checks on on the relationship the relation endpoint returns

PoC

Setup

Create a fresh strapi instance Create a new content type in the newly created content type add a relation to the users-permissions user. Save. Create a users-permissions user Use your created content type and create an entry in it related to the users-permisisons user

Go to settings -> Admin panel -> Roles -> Author Give the author role full permissions on the content type your created. Make sure they don’t have any permission to see User Save

Create a new admin account with only the author role

CVE

login on the newly created author acount. go to the content manager to the colection type you created with the relationship to users_permissions_user You now see a field you don’t have permissions to view.

Impact

RBAC field level checks leaks data selected by the admin user as relationship title What could be sensitive fields that they should not be allowed to see. by the person having this specific role.

References

  • github.com/advisories/GHSA-m284-85mf-cgrc
  • github.com/strapi/strapi/releases/tag/v4.12.1
  • github.com/strapi/strapi/security/advisories/GHSA-m284-85mf-cgrc

Code Behaviors & Features

Detect and mitigate CVE-2023-37263 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 before 4.12.1

Fixed versions

  • 4.12.1

Solution

Upgrade to version 4.12.1 or above.

Impact 2.7 LOW

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

Learn more about CVSS

Source file

npm/@strapi/plugin-content-manager/CVE-2023-37263.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:49 +0000.