Security Resilience

CVE-2026-52846

Caddyserver Caddy ≤ 2.11.4

Public PoC
Published
23 June 2026
Modified
29 June 2026
CVSS Score v3.1 4.2
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS Score 0.0025 16th percentile
Risk Priority 34 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2026-52846 is a medium-severity Improper Encoding or Escaping of Output (CWE-116) vulnerability in Caddyserver Caddy. Its CVSS base score is 4.2 (Medium).

Operationally, ranked at the 16th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

OWASP Top 10 for Web (2025)

EU & UK References

No EU or UK CSIRT advisories indexed for this CVE.

Vulnerability Data

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,…

more

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

Related Threats

CVEs Like This One

CVE-2023-50463Same product: Caddyserver Caddy
CVE-2026-30851Same product: Caddyserver Caddy
CVE-2026-27589Same product: Caddyserver Caddy
CVE-2026-27590Same product: Caddyserver Caddy
CVE-2026-30852Same product: Caddyserver Caddy
CVE-2026-27587Same product: Caddyserver Caddy
CVE-2026-45135Same product: Caddyserver Caddy
CVE-2026-45692Same product: Caddyserver Caddy
CVE-2026-27585Same product: Caddyserver Caddy
CVE-2026-27586Same product: Caddyserver Caddy

Affected Assets

caddyserver
caddy
≤ 2.11.4

Mitigating Controls

Likely Mitigating Controls

Our mappings. Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-116

Validating that output matches expected content directly mitigates failures to properly encode or escape data for its destination context.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Security testing can detect missing or incorrect encoding but does not itself implement the control.

prevents

Secure coding standards explicitly require correct output encoding and escaping to preserve message structure.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-116, a class-level weakness, and none of its children carries one either.

References