Fix · Express / Node
Fix “Software version disclosure” on Express / Node
Suppress or genericise the Server header and remove X-Powered-By at the web-server/framework level.
app.disable('x-powered-by');
Verify the fix
Re-run the Software version disclosure check after deploying. Test config changes in staging first and keep a rollback: a wrong header can break a site faster than a missing one.
Other stacks: nginx · Apache · Caddy · Cloudflare