Software versions shown to visitors

How the scan finds server and CMS versions in headers, the generator tag and URLs, why a version is a warning and a name is a note, and how to hide them.

What AuditX checks

The scan reads the response headers and HTML of the page you scanned, and the web addresses it found while crawling. It looks at the Server and X-Powered-By headers (a name, optionally followed by a slash, a space or an opening parenthesis and a version that starts with a digit, such as nginx/1.18.0 or Jetty(12.0.35)), the X-AspNet-Version and X-AspNetMvc-Version headers, the X-Generator header and the generator meta tag (a dotted version such as 6.4 or 6.4.2 counts as a version, and the name is reported without a leading Powered by or a v before the number), and file endings .php, .asp, .aspx, .jsp and .cfm in crawled page addresses and their links. It makes no extra requests. The check warns when at least one exact version is visible and names each one with where it was seen. It gives an info note, which does not lower the score, when software is named but no version is shown. A file ending alone counts as a name. It passes when nothing is named or versioned. It never fails. It only reads the page you scanned, so a version shown on another page or by a different server is not seen. It does not look up whether a version is out of date or has known problems, so a warn does not mean the site is vulnerable. A header removed by a CDN or proxy in front of the site is not visible to the scan either. A warn costs points and an info note costs none.

Why it matters

The OWASP Web Security Testing Guide explains that finding the type and version of a web server lets an attacker look for known problems in that exact release, and that servers running older versions can be open to known version-specific exploits.

The OWASP HTTP Headers Cheat Sheet says the X-Powered-By header exposes the technology in use and helps attackers find vulnerabilities more easily, and recommends removing it. It adds that attackers have other ways to fingerprint a site, so hiding versions is one layer and not a fix on its own.

How to fix it

  1. Turn off version numbers in the Server header. On nginx set server_tokens off, and on Apache set ServerTokens Prod and ServerSignature Off.
  2. Remove the X-Powered-By, X-AspNet-Version, X-AspNetMvc-Version and X-Generator headers in your server, framework or CDN settings.
  3. Remove the generator meta tag from your pages, or strip the version from it. Most CMS themes and security plugins have a setting for this.
  4. Keep your software up to date. Hiding a version only helps while the software behind it is also patched.
server_tokens off;
proxy_hide_header X-Powered-By;

Does your site pass this check? A free scan runs it with every other check and shows the result in about a minute.

Scan my site

Sources

Related checks

Last reviewed 2026-11-13.