{"cve":"CVE-2026-52846","nvd":{"published":"2026-06-23T18:18:05.400","modified":"2026-06-29T19:08:52.543","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N","score":4.2},"cwes":["CWE-116"],"references":["https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v","https://github.com/caddyserver/caddy/security/advisories/GHSA-vcc4-2c75-vc9v"],"products":["caddyserver:caddy"],"source":"nvd","synced_at":"2026-10-19T22:39:28.638635428+00:00"},"epss":{"cve":"CVE-2026-52846","score":0.00248,"percentile":0.16175,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-vcc4-2c75-vc9v","url":"https://osv.dev/vulnerability/GHSA-vcc4-2c75-vc9v","summary":"Caddy: stripHTML template function bypass","modified":"2026-07-24T19:11:47.063874212Z","packages":[{"ecosystem":"Go","name":"github.com/caddyserver/caddy/v2","purl":"pkg:golang/github.com/caddyserver/caddy/v2","ranges":["<2.11.4"],"fixed":["2.11.4"]},{"ecosystem":"Go","name":"github.com/caddyserver/caddy","purl":"pkg:golang/github.com/caddyserver/caddy","ranges":["<=1.0.5"],"fixed":[]}]},{"id":"GO-2026-5660","url":"https://osv.dev/vulnerability/GO-2026-5660","summary":"Caddy: stripHTML template function bypass in github.com/caddyserver/caddy","modified":"2026-07-24T19:00:25.441370322Z","packages":[{"ecosystem":"Go","name":"github.com/caddyserver/caddy/v2","purl":"pkg:golang/github.com/caddyserver/caddy/v2","ranges":["<2.11.4"],"fixed":["2.11.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}