Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, Caddy’s stripHTML template…
Historical advisory recorded 25 Oct 2026 13:17:10 UTC. Read the latest advisory.
nvd · CVE-2026-52846
PublishedCaddy 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.
Read the publisher's advisoryAffected versions, risk and source history
nvd · CVE-2026-52846
PublishedNVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.
Source analysis status: Analyzed
Weakness classifications: CWE-116
Original publisher date fields
published: 2026-06-23T18:18:05.400
lastModified: 2026-06-29T19:08:52.543
1 source CPE criteria · context only
- cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*
The original JSON retains the logical configuration operators, exclusions and version bounds.
No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.
Original source record · Cite this exact observation · Complete original publisher JSON