
CVE catalog
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 input strings. Certain malformed HTML, s
- Severity
- Medium · CVSS 4.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.25% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | caddy | sid | 2.11.4-1 | fixed |
| Debian | caddy | forky | 2.11.4-1 | fixed |
| Debian | caddy | trixie | 2.6.2-12+deb13u1 | fixed |
| Debian | caddy | trixie-security | 2.6.2-12+deb13u1 | fixed |
| Debian | caddy | bookworm | 2.6.2-5 | vulnerable |
| Debian | caddy | bookworm-security | 2.6.2-5+deb12u1 | fixed |
| Cpe | caddy | Not reported | Not reported | vulnerable |
| Cpe | caddy | Not reported | 2.11.4 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | caddy | source | sid | 2.11.4-1 | not yet assigned | Not reported | [1140773] |
| Debian | caddy | source | forky | 2.11.4-1 | not yet assigned | Not reported | [1140773] |
| Debian | caddy | source | trixie | 2.6.2-12+deb13u1 | not yet assigned | Not reported | [1140773] |
| Debian | caddy | source | bookworm | 2.6.2-5+deb12u1 | not yet assigned | Not reported | [1140773] |
| Cpe | caddy | cpe | Not reported | 2.11.4 | Not reported | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [caddy]Affected
Details (2)
2.6.2-5· amd64 · bookwormAffected · Fixed:
2.6.2-5+deb12u1nvd · caddy · debian · bookworm; nvd · caddy · debian · 12
2.6.2-5· arm64 · bookwormAffected · Fixed:
2.6.2-5+deb12u1nvd · caddy · debian · bookworm; nvd · caddy · debian · 12
[Debian 13 (Trixie)]
- [caddy]Affected
Details (5)
2.6.2-12+b3· amd64 · trixieAffected · Fixed:
2.6.2-12+deb13u1nvd · caddy · debian · 13
2.6.2-12+b3· arm64 · trixieAffected · Fixed:
2.6.2-12+deb13u1nvd · caddy · debian · 13
2.11.2-1~bpo13+1· amd64 · trixie-backportsFixed · Fixed:
2.6.2-12+deb13u1nvd · caddy · debian · 13
2.6.2-12+deb13u1· amd64 · trixie-securityFixed · Fixed:
2.6.2-12+deb13u1nvd · caddy · debian · 13
2.6.2-12+deb13u1· arm64 · trixie-securityFixed · Fixed:
2.6.2-12+deb13u1nvd · caddy · debian · 13
Observed:
References
- [https://nvd.nist.gov/vuln/detail/CVE-2026-52846]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-52846]
- [https://security-tracker.debian.org/tracker/CVE-2026-52846]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-52846.json]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]