hsec-2024-0001
osv_haskell
Description
# Reflected XSS vulnerability in keter Keter is an app-server/reverse-proxy often used with webapps build on Yesod web-framework. In the logic handling VHost dispatch, Keter was echoing back `Host` header value, unescaped, as part of an HTML error page. This constitutes a reflected-XSS vulnerability. Although not readily exploitable directly from a browser (where `Host` header can't generally assume arbitrary values), it may become such in presence of further weaknesses in components upstream of Keter in the http proxying chain. Therefore, AC:High in CVSS evaluation.
Timeline
- Published
- unknown
- Last Modified
- unknown
CVSS Details
CVSS details not available.
Affected Products
No product information available.
References
Linked Vulnerabilities
No linked vulnerabilities found.
{
"affected": [
{
"database_specific": {
"human_link": "https://github.com/haskell/security-advisories/tree/main/advisories/published/2024/HSEC-2024-0001.md",
"osv": "https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export/2024/HSEC-2024-0001.json",
"source": "https://github.com/haskell/security-advisories/blob/generated/osv-export/2024/HSEC-2024-0001.json"
},
"package": {
"ecosystem": "Hackage",
"name": "keter",
"purl": "pkg:hackage/keter"
},
"ranges": [
{
"events": [
{
"introduced": "0.3.4"
},
{
"fixed": "1.8.4"
}
],
"type": "ECOSYSTEM"
}
],
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"versions": [
"0.3.4",
"0.3.4.1",
"0.3.4.2",
"0.3.5",
"0.3.5.1",
"0.3.5.2",
"0.3.5.3",
"0.3.5.4",
"0.3.6",
"0.3.6.1",
"0.4.0",
"1.0.1",
"1.0.1.1",
"1.0.1.2",
"1.1.0",
"1.1.0.1",
"1.2.0",
"1.2.1",
"1.3.0",
"1.3.1",
"1.3.10",
"1.3.10.1",
"1.3.2",
"1.3.3",
"1.3.4",
"1.3.5",
"1.3.5.1",
"1.3.5.2",
"1.3.5.3",
"1.3.6",
"1.3.7",
"1.3.7.1",
"1.3.8",
"1.3.9",
"1.3.9.1",
"1.3.9.2",
"1.4.0",
"1.4.0.1",
"1.4.1",
"1.4.2.1",
"1.4.3",
"1.4.3.1",
"1.4.3.2",
"1.5",
"1.6",
"1.7",
"1.8",
"1.8.1",
"1.8.2",
"1.8.3"
]
}
],
"database_specific": {
"home": "https://github.com/haskell/security-advisories",
"osvs": "https://raw.githubusercontent.com/haskell/security-advisories/refs/heads/generated/osv-export",
"repository": "https://github.com/haskell/security-advisories"
},
"details": "# Reflected XSS vulnerability in keter\n\nKeter is an app-server/reverse-proxy often used with webapps build on Yesod web-framework.\n\nIn the logic handling VHost dispatch, Keter was echoing back `Host` header value, unescaped,\nas part of an HTML error page. This constitutes a reflected-XSS vulnerability. Although\nnot readily exploitable directly from a browser (where `Host` header can't generally assume\narbitrary values), it may become such in presence of further weaknesses in components\nupstream of Keter in the http proxying chain. Therefore, AC:High in CVSS evaluation.\n",
"id": "HSEC-2024-0001",
"modified": "2025-11-14T18:15:41.081112Z",
"published": "2025-11-14T14:45:34Z",
"references": [
{
"type": "FIX",
"url": "https://github.com/snoyberg/keter/pull/246"
}
],
"schema_version": "1.7.5",
"summary": "Reflected XSS vulnerability in keter"
}