SCA: security update for craftcms/cms (GHSA-c55v-343g-5xff)

medium Tenable Cloud Security Plugin ID 443728

Description

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

- Craft CMS is a content management system (CMS). Versions 4.0.0-RC1 and above, prior to 4.18.0 and
5.0.0-RC1, and above, prior to 5.10.0, are vulnerable to Server-Side Request Forgery (SSRF) and Arbitrary
JavaScript Injection through the /actions/app/resource-js endpoint. By exploiting the default permissive
trustedHosts configuration, an attacker can poison the Host or X-Forwarded-Host header to manipulate the
application’s $baseUrl. This bypasses the endpoint’s internal URL validation, forcing the backend Guzzle
client to fetch a malicious payload from an attacker-controlled server and reflect it to the client with a
Content-Type: application/javascript header. The vulnerability manifests when
assetManager.cacheSourcePaths is set to false. This issue has been fixed in versions 4.18.0 and 5.10.0.
(CVE-2026-55791)

Solution

Update the craftcms/cms library and its related packages to version 4.18 or later.

See Also

https://github.com/advisories/GHSA-c55v-343g-5xff

Plugin Details

Severity: Medium

ID: 443728

Version: Revision 1.3

Type: Local

Family: SCA Checks

Published: 6/20/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.48

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

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

CVSS Score Source: CVE-2026-55791

CVSS v3

Risk Factor: High

Base Score: 7.2

Temporal Score: 6.3

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

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

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/19/2026

Vulnerability Publication Date: 6/19/2026

Reference Information

CVE: CVE-2026-55791

cwe: CWE-346