HSEC-2024-0001 Reflected XSS vulnerability in keter
Reflected XSS in Keter allows attackers to inject scripts via Host header, potentially leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is HSEC-2024-0001?
HSEC-2024-0001 is a cross-site scripting vulnerability in keter, published on 14 Nov 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Which versions are affected by HSEC-2024-0001?
1 open source package ship an affected version, including keter.
| Package | Affected | Fixed in |
|---|---|---|
keter Hackage | From 0.3.4 | 1.8.4 |
How do I fix HSEC-2024-0001?
Upgrade keter to 1.8.4 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is HSEC-2024-0001 being exploited?
There is no known exploitation of HSEC-2024-0001 in the wild and no public exploit code.