Description
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 she is not authorized to access, can gain read, update and delete access to it.
Recommendation
Update the remult package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.20.6
- Patched version(s): 0.20.6
References
Could your website be exposed too?
SmartScanner can check your website for When setting EntityOptions.apiPrefilter to a function, the filter is not applied to API requests for a resource by Id and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode expressionInterpeter - CVE-2025-26619
- Vega Cross-Site Scripting (XSS) via event filter when not using CSP mode expressionInterpeter - vega - CVE-2025-26619
- Vega has Cross-site Scripting vulnerability in `lassoAppend` function - CVE-2023-26487
- angular vulnerable to regular expression denial of service via the $resource service - CVE-2023-26117


