← Back

CVE-2026-52846

nvd nist
Published: Jun 23, 2026Modified: Jun 29, 2026

JSON object

Loading...
4.2
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Exploitability: 1.6 / Impact: 2.5
Source: security-advisories@github.com (Secondary)

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 (1)

Products: Caddyserver: Caddy
1 product
Caddy
Configuration A
1 vulnerable
Vulnerable SoftwareAffected Versions
Before 2.11.4

References (2)

Source: security-advisories@github.com
ExploitThird Party Advisory
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0
ExploitThird Party Advisory

Timeline

No history available yet.