ZeroDay Brief
Happy holidays from ZeroDay Brief!
CVE-2026-52846

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
More from this vendor

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.

CWE-116

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.

Tue, Jun 23, 2026

  1. 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

You are leaving ZeroDay Brief

This link goes to exploit code on a third-party site. We find these links automatically and do not test, review or vouch for them. They may contain malware or fake exploits.

We are not responsible for anything that happens if you open the page or run its code. Never run exploit code on systems you care about.

↑ ↓ moveEnter openEsc closeTry “CVE-2026”, “fortinet” or “ivanti”