cbcvebase.
CVE-2026-52846
published 2026-06-23

CVE-2026-52846: 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…

PriorityP420medium4.2CVSS 3.1
AVNACHPRNUIRSUCLILAN
EPSS
0.15%
4.9th percentile
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

3 ranges
VendorProductVersion rangeFixed in
caddyservercaddy< 2.11.42.11.4
github.comcaddyserver_caddy0 – 1.0.5
github.comcaddyserver_caddy_v2>= 0 < 2.11.42.11.4
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.