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.
CVE-2026-52846
This medium-severity CVE scores 4.2 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 95% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 4.2
- EG Score
- 4.2(medium)
- EPSS
- 4.9%
- KEV
- Not listed
Published
June 16, 2026
Last Modified
June 29, 2026
Advisory Details (1)
Auto-updated Jun 23, 2026stripHTML template function bypass in github.com/caddyserver/caddy · Advisory · caddyserver/caddy · GitHub
https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9vVendor Advisories for CVE-2026-52846(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(2 across 1 ecosystem)
Go(2)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/caddyserver/caddy | — | — | — |
| github.com/caddyserver/caddy/v2 | — | 2.11.4 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 33× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 22:58 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-05 10:47 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 08:59 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 01:03 UTCEG score recompute
- 2026-07-01 23:15 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 21:29 UTCEG score recompute
- 2026-06-29 19:41 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 17:54 UTCEG score recompute
- 2026-06-28 14:07 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 16:06 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 14:18 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-25 12:32 UTCEG score recompute
- 2026-06-24 14:05 UTCEPSS rescore
Show 8 moreShow fewer
- 2026-06-24 10:45 UTCEG score recompute
- 2026-06-23 08:55 UTCEG score recompute
- 2026-06-22 07:08 UTCEG score recompute
- 2026-06-21 05:06 UTCEG score recompute
- 2026-06-20 03:18 UTCEG score recompute
- 2026-06-19 01:23 UTCEG score recompute
- 2026-06-17 23:33 UTCEG score recompute
- 2026-06-16 21:44 UTCEG score recompute
Related CVEs(same CWE)
Same CWE
10 shownCWE-116
Frequently asked(5)
What is CVE-2026-52846?
When was CVE-2026-52846 disclosed?
Is CVE-2026-52846 actively exploited?
What is the CVSS score of CVE-2026-52846?
How do I remediate CVE-2026-52846?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-52846
Is Your Infrastructure Affected by CVE-2026-52846?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.