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, 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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*

History

29 Jun 2026, 19:08

Type Values Removed Values Added
References () https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v - () https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v - Exploit, Third Party Advisory
First Time Caddyserver
Caddyserver caddy
CPE cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*

25 Jun 2026, 13:16

Type Values Removed Values Added
References () https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v - () https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v -

23 Jun 2026, 18:18

Type Values Removed Values Added
New CVE

Information

Published : 2026-06-23 18:18

Updated : 2026-06-29 19:08


NVD link : CVE-2026-52846

Mitre link : CVE-2026-52846

CVE.ORG link : CVE-2026-52846


JSON object : View

Products Affected

caddyserver

  • caddy
CWE
CWE-116

Improper Encoding or Escaping of Output