Description
Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, Caddy’s stripHTML template function cannot reliably remove all HTML tags from input strings. Certain malformed HTML, such as <<>img src=x onerror=alert()>, can bypass the tag-stripping logic, potentially leaving dangerous content in the output if it is later rendered as HTML. This may allow client-side XSS in cases where untrusted strings are rendered unsafely. This vulnerability is fixed in 2.11.4.
Affected products
caddyserver: caddy
References2
- github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75… ExploitThird Party Advisory
- github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75… ExploitThird Party Advisory
Metrics
- CVSS 3.1
-
4.2
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 16 · as of 16 November 2026
- CWE
- CWE-116
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.