EN, Change language
Englishالعربية
JO-173

Error pages show minimal information, reveal no internals (stack traces, versions) and suggest a way forward.

The requirement (from the 2022 Guidelines)

Error pages show minimal information, reveal no internals (stack traces, versions) and suggest a way forward.

Why it matters to users

A user who follows a broken link needs a plain message pointing them home or to search, not technical output they cannot read. Stack traces, file paths and version numbers on an error page help attackers far more than visitors.

How to fix it

Serve a custom 404 page with the correct status code, a short message and links to home and search, turn off detailed error output in production, and strip version numbers from the Server and X-Powered-By headers. Then scan again.

How we measure it

Request a made-up URL: status 404, no stack trace/framework banner, link home/search; Server/X-Powered-By version disclosure.

Its place in the MODEE guidelines

Related rules

Safe, helpful error pages · Jordan JO-173 | xfix