CVE-2023-35167
MEDIUM 6.3CVSS 3.1When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id
Remult is a CRUD framework for full-stack TypeScript. If you used the apiPrefilter option of the @Entity decorator, by setting it to a function that returns a filter that prevents unauthorized access to data, an attacker who knows the id of an entity instance is not authorized to access, can gain read, update and delete access to it. The issue is fixed in version 0.20.6. As a workaround, set the apiPrefilter option to a filter object instead of a function.
- Published
- 23 Jun 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-284
- Also known as
- GHSA-7hh3-3x64-v2g9
- Sources
- NVDJSONOSV GHSA-7hh3-3x64-v2g9JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.0 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | remult | remultcpe:2.3:a:remult:remult:*:*:*:*:*:node.js:*:* |
< 0.20.6 | 0.20.6 |
| OSV | npm | remult | < 0.20.6 | 0.20.6 |
References
- https://github.com/remult/remult/commit/6892ae97134126d8710ef7302bb2fc37730994c5 · Patch, WEB
- https://github.com/remult/remult/releases/tag/v0.20.6 · Release Notes, WEB
- https://github.com/remult/remult/security/advisories/GHSA-7hh3-3x64-v2g9 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-35167 · ADVISORY
- https://github.com/remult/remult · PACKAGE
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 23 Jun 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 20 Jun 2023)