← Vulnerability feed

Vulnerability record · CVE-2002-0148 · published 22 April 2002

CVE-2002-0148: Microsoft IIS HTTP error page cross-site scripting

Microsoft · Internet Information Server

Microsoft IIS 4.0, 5.0 and 5.1 fail to properly encode content in HTTP error pages, allowing reflected cross-site scripting. An attacker can craft a request that causes the server to return a page containing arbitrary script, which executes in the victim's browser in the context of the affected site.

7.5 CVSS 2.0 High EPSS 65% · top 0.7%
7.5CVSS 2.0 base score
65%EPSS exploitation probability, 30 days
NoNot in CISA KEV
2Affected product versions listed by NVD
18References
16 Jun 2026Last modified by NVD

Description

Cross-site scripting vulnerability in Internet Information Server (IIS) 4.0, 5.0 and 5.1 allows remote attackers to execute arbitrary script as other users via an HTTP error page.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: medium.

high priorityHigh EPSS probability and network-reachable XSS with partial impact, though exploitation requires user interaction and no KEV listing.

What it is

Microsoft IIS 4.0, 5.0 and 5.1 fail to properly encode content in HTTP error pages, allowing reflected cross-site scripting. An attacker can craft a request that causes the server to return a page containing arbitrary script, which executes in the victim's browser in the context of the affected site.

Impact

An attacker can execute arbitrary script as other users, potentially stealing session cookies, hijacking authenticated sessions, or performing actions on behalf of the victim. The CVSS 2.0 vector indicates partial confidentiality, integrity and availability impact.

Attack surface

Reachable remotely over the network via HTTP requests to IIS error pages; no authentication is required. Successful exploitation requires the victim to follow a crafted link or otherwise load the malicious request, so some user interaction is needed.

Exploitation

Not listed in CISA KEV and no public exploit references are tagged in the record, but EPSS is high at 0.64489 (99.2nd percentile), indicating elevated likelihood of exploitation activity.

What to do

  • Apply the Microsoft security bulletin MS02-018 update for IIS 4.0, 5.0 and 5.1.
  • Disable or restrict custom error pages that reflect user-supplied input where feasible.
  • Deploy a WAF or URL filtering rule to block script payloads in requests that trigger IIS error pages.
  • Upgrade to a supported IIS version, as IIS 4.0/5.0/5.1 are long out of support.
  • Enforce output encoding for any server-generated error content.

Detection

  • Monitor IIS logs for requests containing script tags or encoded script in query strings or paths that result in error responses.
  • Alert on HTTP responses with status 4xx/5xx that include reflected user input in the body.
  • Review web server error page templates for unencoded dynamic content.
  • Correlate suspicious error-page requests with subsequent session anomalies or cookie theft indicators.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2002-0148 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2003-0224Microsoft internet information services vulnerabilityBuffer overflow in ssinc.dll for Microsoft Internet Information Services (IIS) 5.0 allows local users to execute arbitrary code via a web page with a…EPSS 18%10.0CVE-1999-1011Microsoft MDAC RDS DataFactory unsafe methods allow remote command executionThe Remote Data Service (RDS) DataFactory component of Microsoft Data Access Components (MDAC), as shipped with IIS 3.x and 4.x, exposes unsafe metho…EPSS 77%analysed10.0CVE-1999-0874IIS 4.0 buffer overflow via malformed .HTR, .IDC, .STM requestsIIS 4.0 contains a memory buffer overflow reachable through malformed requests for files with .HTR, .IDC, or .STM extensions. The record describes th…EPSS 75%analysed10.0CVE-1999-0407Microsoft internet information server vulnerabilityBy default, IIS 4.0 has a virtual directory /IISADMPWD which contains files that can be used as proxies for brute force password attacks, or to ident…EPSS 5.1%10.0CVE-1999-1376Microsoft internet information server vulnerabilityBuffer overflow in fpcount.exe in IIS 4.0 with FrontPage Server Extensions allows remote attackers to execute arbitrary commands.EPSS 24%10.0CVE-1999-0233Microsoft internet information services vulnerabilityIIS 1.0 allows users to execute arbitrary commands using .bat or .cmd files.EPSS 16%7.8CVE-1999-0449IIS 4 ExAir sample site scripts allow remote CPU exhaustion DoSThe ExAir sample site shipped with IIS 4 exposes advsearch.asp, query.asp and search.asp, which can be requested directly to drive heavy CPU consumpt…EPSS 49%analysed7.5CVE-2002-1745Microsoft internet information services vulnerabilityOff-by-one error in the CodeBrws.asp sample script in Microsoft IIS 5.0 allows remote attackers to view the source code for files with extensions con…EPSS 19%

Source: NIST National Vulnerability Database (record CVE-2002-0148), CISA KEV, FIRST EPSS (scores of 2026-11-24). This page is refreshed as NVD updates the record.