CVE-2026-52846
CVE-2026-52846 is a medium-severity vulnerability in Caddyserver Caddy with a CVSS 3.x base score of 4.2. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-116.
Key facts
- Severity: Medium (CVSS 3.x base score 4.2)
- EPSS exploit prediction: 0% (5th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-38556
- Weakness: CWE-116
- Affected product: Caddyserver Caddy
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-52846?
- CVE-2026-52846 has a CVSS 3.x base score of 4.2, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2026-52846 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (5th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-52846?
- CVE-2026-52846 affects Caddyserver Caddy. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-52846?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-52846 have an EU (EUVD) identifier?
- Yes. CVE-2026-52846 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-38556.
- When was CVE-2026-52846 published?
- CVE-2026-52846 was published on 2026-06-23 and last updated on 2026-06-29.
References
Affected products (1)
- cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*
More vulnerabilities in Caddyserver Caddy
- CVE-2026-27590 — Critical (CVSS 9.8): Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's FastCGI path…
- CVE-2018-21246 — Critical (CVSS 9.8): Caddy before 0.10.13 mishandles TLS client authentication, as demonstrated by an authentication bypass caused by the…
- CVE-2026-27588 — Critical (CVSS 9.1): Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `host` request…
- CVE-2026-27587 — Critical (CVSS 9.1): Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, Caddy's HTTP `path` request…
- CVE-2026-27586 — Critical (CVSS 9.1): Caddy is an extensible server platform that uses TLS by default. Prior to version 2.11.1, two swallowed errors in…
- CVE-2026-52845 — High (CVSS 8.1): Caddy is an extensible server platform that uses TLS by default. Prior to 2.11.4, forward_auth copy_headers deletes the…
All CVEs affecting Caddyserver Caddy →
Other CWE-116 vulnerabilities
- CVE-2025-55730 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2025-55729 — Critical (CVSS 10.0): XWiki Remote Macros provides XWiki rendering macros that are useful when migrating content from Confluence. Starting in…
- CVE-2023-47143 — Critical (CVSS 10.0): IBM Tivoli Application Dependency Discovery Manager 7.3.0.0 through 7.3.0.10 is vulnerable to HTTP header injection,…
- CVE-2023-26472 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform. Starting in version 6.2-milestone-1, one can execute any wiki content with…
- CVE-2022-41934 — Critical (CVSS 9.9): XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Any user with…
- CVE-2022-36100 — Critical (CVSS 9.9): XWiki Platform Applications Tag and XWiki Platform Tag UI are tag applications for XWiki, a generic wiki platform.…