PT-2026-50162
CVE-2026-52846
·
Published
2026-06-16
·
Updated
2026-09-20
Description by
CVSS 3.1
4.2
MediumMetricsAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Caddy versions prior to 2.11.4
Description
Caddy is an extensible server platform that uses TLS by default. The
stripHTML template function, specifically within the funcStripHTML() function, cannot reliably remove all HTML tags from input strings. Certain malformed HTML can bypass the tag-stripping logic, potentially leaving dangerous content in the output. If this output is later rendered as HTML, it may allow client-side Cross-Site Scripting (XSS), where an attacker can execute arbitrary JavaScript in the user's browser.Recommendations
Update Caddy to version 2.11.4.
As a temporary workaround, restrict the use of the
stripHTML function for processing untrusted strings until the update is applied.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾