SCA: security update for astro (GHSA-j687-52p2-xcff)

medium Tenable Cloud Security Plugin ID 440679

Description

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

- Astro is a web framework. Prior to 6.1.6, the defineScriptVars function in Astro's server-side rendering
pipeline uses a case-sensitive regex /<\/script>/g to sanitize values injected into inline <script> tags
via the define:vars directive. HTML parsers close <script> elements case-insensitively and also accept
whitespace or / before the closing >, allowing an attacker to bypass the sanitization with payloads like
</Script>, </script >, or </script/> and inject arbitrary HTML/JavaScript. This vulnerability is fixed in
6.1.6. (CVE-2026-41067)

Solution

Update the astro library and its related packages to version 6.1.6 or later.

See Also

https://github.com/advisories/GHSA-j687-52p2-xcff

Plugin Details

Severity: Medium

ID: 440679

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/21/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.42

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

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

CVSS Score Source: CVE-2026-41067

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/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: 4/21/2026

Vulnerability Publication Date: 4/21/2026

Reference Information

CVE: CVE-2026-41067

cwe: CWE-79