SCA: security update for github.com/caddyserver/caddy/v2 (GHSA-vcc4-2c75-vc9v)

medium Tenable Cloud Security Plugin ID 443340

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-52846)

Solution

Update the github.com/caddyserver/caddy/v2 library and its related packages to version 2.11.4 or later.

See Also

https://github.com/advisories/GHSA-vcc4-2c75-vc9v

Plugin Details

Severity: Medium

ID: 443340

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 6/17/2026

Updated: 7/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.78

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-52846

CVSS v3

Risk Factor: Medium

Base Score: 4.2

Temporal Score: 3.8

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/16/2026

Vulnerability Publication Date: 6/13/2026

Reference Information

CVE: CVE-2026-52846

cwe: CWE-116