Low severityJavaScript / TypeScriptInsecure ConfigurationHIGH confidence
Express X Powered By Enabled
The Express x-powered-by header is left enabled (or explicitly enabled), disclosing the server framework and aiding fingerprinting.
Standards mapping
- CWE
- CWE-200: Exposure of Sensitive Information to an Unauthorized ActorCWE-693: Protection Mechanism Failure
- OWASP Top 10
- A05:2021 - Security Misconfiguration
- OWASP ASVS
- V14.3.2 (L1)
Vulnerable vs. safe
Flagged by this check
app.enable("x-powered-by");Passes - the safe pattern
app.disable("x-powered-by");Why it matters & how to fix it
The Express x-powered-by header is left enabled (or explicitly enabled), disclosing the server framework and aiding fingerprinting. Call app.disable('x-powered-by') or use helmet to remove it.
References
Rule ID integsec-js-express-x-powered-by-enabled - engine: Opengrep - license: MIT - Copyright (c) IntegSec Inc.
TurboPentest runs this check automatically
Connect a GitHub repo and this check runs on every white-box pentest - AI-validated and reported with proof, from $99 per target.
Start a pentestRelated checks
- JavaScript / TypeScript - Insecure ConfigurationCORS Acao Wildcard Header
- JavaScript / TypeScript - Insecure ConfigurationCORS Wildcard Origin
- JavaScript / TypeScript - Insecure ConfigurationCORS Wildcard With Credentials
- JavaScript / TypeScript - Insecure ConfigurationCSRF Protection Disabled
- JavaScript / TypeScript - Insecure ConfigurationExpress Trust Proxy All
- JavaScript / TypeScript - Insecure ConfigurationGraphql Introspection Enabled