CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"caddy","vendor":"caddyserver","versions":[{"status":"affected","version":"< 2.11.4"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dd18137e2d328de29eaeac16a8ec837acc32a1b3a8eb913065fa2e0bf87c2840 · sha256:fb0e5585cf6000c5… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.2,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:dd18137e2d328de29eaeac16a8ec837acc32a1b3a8eb913065fa2e0bf87c2840 · sha256:fb0e5585cf6000c5… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-116","description":"CWE-116: Improper Encoding or Escaping of Output","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dd18137e2d328de29eaeac16a8ec837acc32a1b3a8eb913065fa2e0bf87c2840 · sha256:fb0e5585cf6000c5… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dd18137e2d328de29eaeac16a8ec837acc32a1b3a8eb913065fa2e0bf87c2840 · sha256:fb0e5585cf6000c5… · /containers/adp/0/references/0
{"name":"https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v","tags":["x_refsource_CONFIRM"],"url":"https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dd18137e2d328de29eaeac16a8ec837acc32a1b3a8eb913065fa2e0bf87c2840 · sha256:fb0e5585cf6000c5… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.