All nginx security issues should be reported to [email protected] or via one of the methods listed here.
Patches are signed using one of the PGP public keys.
njs does not evaluate dynamic code and especially the code received from the network in any way. The only way to evaluate that code using njs is to configure the js_import directive in nginx. JavaScript code is loaded once during nginx start.
In nginx/njs threat model, JavaScript code is considered a trusted source in the same way as nginx.conf and sites certificates. What this means in practice:
nginx.conf, nginx is safe from JavaScript-related vulnerabilities
© 2002-2021 Igor Sysoev
© 2011-2025 Nginx, Inc.
Licensed under the BSD License.
https://nginx.org/en/docs/njs/security.html