Description
Affected versions of pouchdb do not properly sandbox the code execution engine which executes the map/reduce functions for temporary views and design documents. Under certain circumstances, an attacker could uses this to run arbitrary code on the server.
Recommendation
Update the pouchdb package to the latest compatible version. Followings are version details:
- Affected version(s): < 6.0.5
- Patched version(s): 6.0.5
References
Could your website be exposed too?
SmartScanner can check your website for Arbitrary Code Injection in pouchdb and gives you actionable findings to investigate.
Start a free scanRelated Issues
- xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection - CVE-2020-28502
- Elysia affected by arbitrary code injection through cookie config - CVE-2025-66457
- xmlhttprequest and xmlhttprequest-ssl vulnerable to Arbitrary Code Injection - xmlhttprequest - CVE-2020-28502
- CryptPad has a Sanitizer Bypass in Diffmarked.js that Allows Arbitrary HTML Injection and Potential XSS - CVE-2026-26028


