---
cve: "CVE-2026-40472"
severity: "CRITICAL"
cvss: 9.9
epss: "0.3%"
vendor: "Generic Security"
kev: false
exploited: false
published: "2026-04-23 16:16:25"
tags: [cve, security, critical]
source: tsecurity.de CVE-Dossier
exported: "2026-11-07T14:18:21+01:00"
---

# CVE-2026-40472

> 9.9 CRITICAL

## Beschreibung

In hackage-server, user-controlled metadata from .cabal files are rendered into HTML
href attributes without proper sanitization, enabling stored
Cross-Site Scripting (XSS) attacks.

## CNA-Record (Kanon, cvelistV5)

- CNA: **redhat-cnalr**
- State: PUBLISHED
- Stand: 2026-04-23 16:22:06
- CNA-CVSS: **9.9** (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L`)

## CISA-Anreicherung (vulnrichment/ADP)

- CISA-SSVC (Coordinator, v2.0.3):
  - Exploitation: **none**
  - Automatable: **no**
  - Technical Impact: **total**

## CVSS-Vektor

```
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:L
```

| Metrik | Wert | Bewertung |
|---|---|---|
| AV Angriffsvektor | Netzwerk | bad |
| AC Komplexität | Gering | bad |
| PR Privilegien | Gering | warn |
| UI Interaktion | Keine | bad |
| S Scope | Verändert | bad |
| C Vertraulichkeit | Hoch | bad |
| I Integrität | Hoch | bad |
| A Verfügbarkeit | Gering | warn |

## Schwachstellen-Klasse

- **CWE-79** — Improper Neutralization of Input During Web Page Generation
  The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

## Angriffsmuster (CAPEC)

- [CAPEC-63 — Cross-Site Scripting (XSS)](https://capec.mitre.org/data/definitions/63.html) _(Severity: Very High)_
- [CAPEC-85 — AJAX Footprinting](https://capec.mitre.org/data/definitions/85.html) _(Severity: Low)_
- [CAPEC-209 — XSS Using MIME Type Mismatch](https://capec.mitre.org/data/definitions/209.html) _(Severity: Medium)_
- [CAPEC-588 — DOM-Based XSS](https://capec.mitre.org/data/definitions/588.html) _(Severity: Very High)_
- [CAPEC-591 — Reflected XSS](https://capec.mitre.org/data/definitions/591.html) _(Severity: Very High)_
- [CAPEC-592 — Stored XSS](https://capec.mitre.org/data/definitions/592.html) _(Severity: Very High)_

## Referenzen

- <https://osv.dev/vulnerability/HSEC-2026-0004>

---
_Exportiert aus dem [tsecurity.de CVE-Dossier](https://tsecurity.de/sicherheitsluecken/cve-2026-40472/) · Datenquellen: EUVD (ENISA), NVD, OSV, CISA KEV, FIRST EPSS, Exploit-DB, BSI WID (CSAF)_
