Cross-site scripting (XSS) vulnerability in the default error page of Apache 2.0 before 2.0.43, and 1.3.x up to 1.3.26, when UseCanonicalName is "Off" and support for wildcard DNS is present, allows remote attackers to execute script as other web page visitors via the Host: header, a different vulnerability than CAN-2002-1157.
CVE-2002-0840
This CVE was only ever scored under CVSS v2.0. NVD CVSS v2.0 base 6.8 — v2 rates that MEDIUM (v2 bands: LOW 0.0–3.9 / MEDIUM 4.0–6.9 / HIGH 7.0–10.0; v2 has no CRITICAL band). Vector AV:N/AC:M/Au:N/C:P/I:P/A:P. CVSS v2 is an older, coarser metric than v3.1/v4.0 (no Scope, no User Interaction, no Attack Requirements), so it is not directly comparable to a v3 or v4 score. NVD has never re-scored this record under v3. EPSS predicts 94.0% exploitation probability in the next 30 days, which is reflected in EG Risk but does not lift the v2 base. Confidence: LOW.
- 2 internet-exposed hosts are running an affected version right now
- High exploitation likelihood — EPSS 95%
- Public exploit code is available (Exploit-DB (verified), epss top5pct, epss high, public exploit)
A fix is available — apply it.
2 internet-exposed hosts are running an affected version of CVE-2002-0840 right now.
EchelonGraph is the only CVE feed that fuses live vulnerability intelligence with its own live internet-exposure radar — so you see not just that a CVE is exploited, but how much of the internet is exposed to it right now.
- CVSS v2.0 (legacy)
- 6.8MEDIUMNVD never assigned a CVSS v3 rating to this CVE
- EG Score
- 6.8(low)
- EG Risk
- 73(Track)EG Risk 73/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity68% × 45%Exploitation94% × 40%Automatability30% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 95%
- EPSS %ILE
- 100%
- KEV
- Not listed
Published
October 11, 2002
Last Modified
June 16, 2026
References (74)
- cve@mitreftp://patches.sgi.com/support/free/security/advisories/20021105-02-I
- cve@mitrehttp://archives.neohapsis.com/archives/bugtraq/2002-10/0254.html
- cve@mitrehttp://archives.neohapsis.com/archives/vulnwatch/2002-q4/0003.html
- cve@mitrehttp://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000530
- cve@mitrehttp://marc.info/?l=apache-httpd-announce&m=103367938230488&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=103357160425708&w=2
- cve@mitrehttp://marc.info/?l=bugtraq&m=103376585508776&w=2
- cve@mitrehttp://online.securityfocus.com/advisories/4617
- cve@mitrehttp://www.apacheweek.com/issues/02-10-04
- cve@mitrehttp://www.debian.org/security/2002/dsa-187
- cve@mitrehttp://www.debian.org/security/2002/dsa-188
- cve@mitrehttp://www.debian.org/security/2002/dsa-195
- cve@mitrehttp://www.kb.cert.org/vuls/id/240329
- cve@mitrehttp://www.linux-mandrake.com/en/security/2002/MDKSA-2002-068.php
- cve@mitrehttp://www.linuxsecurity.com/advisories/other_advisory-2414.html
Patch Availability(6)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | patch | 2003-04-22 | redhat |
| redhat | patch | 2003-01-09 | redhat |
| redhat | patch | 2002-12-12 | redhat |
| redhat | patch | 2002-11-08 | redhat |
| redhat | patch | 2002-11-08 | redhat |
| redhat | patch | 2002-11-07 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(7 across 5 ecosystems)
Debian:3.0(3)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache | — | 1.3.26-0woody | — |
| apache-perl | — | 1.3.26-1-1.26-0woody2 | — |
| apache-ssl | — | 1.3.26.1+1.48-0woody3 | — |
Debian:11(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.43-1 | — |
Debian:12(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.43-1 | — |
Debian:13(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.43-1 | — |
Debian:14(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| apache2 | — | 2.0.43-1 | — |
All Vendor Advisories
(6)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
- Red HatRHSA-2002:222LOW2002-10-02
RHSA-2002:222 — Low
- Red HatRHSA-2002:243LOW2002-10-02
RHSA-2002:243 — Low
- Red HatRHSA-2002:244LOW2002-10-02
RHSA-2002:244 — Low
- Red HatRHSA-2002:248LOW2002-10-02
RHSA-2002:248 — Low
- Red HatRHSA-2002:251LOW2002-10-02
RHSA-2002:251 — Low
- Red HatRHSA-2003:106LOW2002-10-02
RHSA-2003:106 — Low
Data Freshness Timeline
(refreshed 0× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-09-12 14:54 UTCEPSS rescore
- 2026-09-12 05:23 UTCOSV refresh
- 2026-09-10 09:23 UTCEPSS rescore
- 2026-08-24 11:12 UTCOSV refresh
- 2026-08-08 07:26 UTCOSV refresh
- 2026-07-26 13:22 UTCEG score recompute▲ 6.80
- 2026-07-24 14:11 UTCEPSS rescore
- 2026-07-23 00:44 UTCEG score recompute
- 2026-07-23 00:30 UTCVendor advisory
- 2026-07-23 00:30 UTCGHSA enrichment
- 2026-07-23 00:27 UTCVendor advisory
- 2026-07-23 00:27 UTCGHSA enrichment
- 2026-07-23 00:25 UTCEG score recompute▼ 9.00
- 2026-07-22 23:48 UTCEG score recompute
- 2026-07-22 21:28 UTCEG score recompute
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-18 09:59 UTCEPSS rescore
- 2026-07-09 13:15 UTCOSV refresh
- 2026-07-02 14:00 UTCEPSS rescore
- 2026-06-23 21:29 UTCEPSS rescore
- 2026-06-21 01:42 UTCOSV refresh
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-18 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
- 2026-06-17 17:49 UTCEPSS rescore
Show 24 moreShow fewer
- 2026-06-15 17:43 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-14 23:13 UTCEPSS rescore
- 2026-06-13 22:56 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 22:13 UTCEPSS rescore
- 2026-06-10 13:17 UTCEPSS rescore
- 2026-06-08 14:13 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 22:43 UTCEPSS rescore
- 2026-06-05 06:07 UTCEPSS rescore
- 2026-06-02 20:10 UTCEPSS rescore
- 2026-05-31 18:47 UTCEG score recompute
- 2026-05-31 18:47 UTCVendor advisory
- 2026-05-31 18:47 UTCGHSA enrichment
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-31 00:13 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-27 13:37 UTCEPSS rescore
- 2026-05-23 00:07 UTCOSV refresh
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(1 reference)Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-21885✓ verifiedFirst seen Oct 2, 2002
Apache 1.3/2.0.x - Server Side Include Cross-Site Scripting
Open source ↗
Related CVEs(same product + same vendor)
Same product
10 shownDebian:3.0:apache-perl · Debian:3.0:apache · Debian:11:apache2
Same vendor
7 shownredhat:RHSA-2002:222 · redhat:RHSA-2002:243 · redhat:RHSA-2003:106
Frequently asked(4)
What is CVE-2002-0840?
When was CVE-2002-0840 disclosed?
Is CVE-2002-0840 actively exploited?
How do I remediate CVE-2002-0840?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2002-0840
Is Your Infrastructure Affected by CVE-2002-0840?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.