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.
- CVSS
- 4.2Medium
- Chance of exploitation (EPSS)
- —
- Published
- Jun 23, 2026
- In the news
- Not yet
What to do
A moderate security flaw in Caddy that can be attacked over the network without logging in, if someone is tricked into an action. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Caddy
- < 2.11.4
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
Get alerts for these →Timeline 3
Latest change: Nessus plugin 322459: Linux Distros Unpatched Vulnerability : CVE-2026-52846 (Nov 11, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Thu, Nov 12, 2026
Wed, Oct 28, 2026
- DetectionNessus plugin 334443: Debian dsa-6429 : caddy - security updateTenable
Tue, Jun 23, 2026
- CVECVE-2026-52846 published (CVSS 4.2)CVE Program · 18:18 UTC
References 2
- github.com Exploit /caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v
- github.com Exploit /caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v