Security mailing lists by PureSourceCode

CVE-2026-52846

MEDIUM 4.2CVSS 3.1

Caddy: stripHTML template function bypass

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.

Published
23 Jun 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-116
Also known as
GHSA-vcc4-2c75-vc9vGO-2026-5660
Sources
NVDJSONOSV GHSA-vcc4-2c75-vc9vJSONOSV GO-2026-5660JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.2 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD caddyserver caddy
cpe:2.3:a:caddyserver:caddy:*:*:*:*:*:*:*:*
< 2.11.4 2.11.4
OSV Go github.com/caddyserver/caddy/v2 < 2.11.4 2.11.4
OSV Go github.com/caddyserver/caddy <= 1.0.5

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 23 Jun 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 16 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.