Description
This affects all versions of package rollup-plugin-server. There is no path sanitization in readFile operation performed inside the readFileFromContentBase function.
Recommendation
No fix is available yet. Followings are affected versions:
- <= 0.7.0
References
Related Issues
- Directory traversal in rollup-plugin-server - CVE-2020-7686
- Path traversal in rollup-plugin-serve - CVE-2020-7684
- Strapi plugins vulnerable to Server-Side Template Injection and Remote Code Execution in the Users-Permissions Plugin (GHSA-2h87-4q2w-v4hf) - CVE-2023-22621
- MJML allows mj-include directory traversal due to an incomplete fix for CVE-2020-12827 - CVE-2025-67898
- Tags:
- npm
- rollup-plugin-server
Anything's wrong? Let us know Last updated on January 09, 2023