CVE catalog

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

[CVE catalog]

Severity
Medium · CVSS 4.2CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.25% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiancaddysid2.11.4-1fixed
Debiancaddyforky2.11.4-1fixed
Debiancaddytrixie2.6.2-12+deb13u1fixed
Debiancaddytrixie-security2.6.2-12+deb13u1fixed
Debiancaddybookworm2.6.2-5vulnerable
Debiancaddybookworm-security2.6.2-5+deb12u1fixed
CpecaddyNot reportedNot reportedvulnerable
CpecaddyNot reported2.11.4fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiancaddysourcesid2.11.4-1not yet assignedNot reported[1140773]
Debiancaddysourceforky2.11.4-1not yet assignedNot reported[1140773]
Debiancaddysourcetrixie2.6.2-12+deb13u1not yet assignedNot reported[1140773]
Debiancaddysourcebookworm2.6.2-5+deb12u1not yet assignedNot reported[1140773]
CpecaddycpeNot reported2.11.4Not reportedNot reportedNot reported

[Debian bug #1140773]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [caddy]Affected
    Details (2)
    • 2.6.2-5 · amd64 · bookworm

      Affected · Fixed: 2.6.2-5+deb12u1

      nvd · caddy · debian · bookworm; nvd · caddy · debian · 12

    • 2.6.2-5 · arm64 · bookworm

      Affected · Fixed: 2.6.2-5+deb12u1

      nvd · caddy · debian · bookworm; nvd · caddy · debian · 12

[Debian 13 (Trixie)]

  • [caddy]Affected
    Details (5)
    • 2.6.2-12+b3 · amd64 · trixie

      Affected · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+b3 · arm64 · trixie

      Affected · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.11.2-1~bpo13+1 · amd64 · trixie-backports

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

    • 2.6.2-12+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 2.6.2-12+deb13u1

      nvd · caddy · debian · 13

Observed:

References