SCA: security update for repostat (GHSA-fm8c-6m29-rp6j)

medium Tenable Self-Hosted Container Security Plugin ID 438009

Description

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

- Repostat is a React component to fetch and display GitHub repository info. Prior to version 1.0.1, the
`RepoCard` component is vulnerable to Reflected Cross-Site Scripting (XSS). The vulnerability occurs
because the component uses React's `dangerouslySetInnerHTML` to render the repository name (`repo` prop)
during the loading state without any sanitization. If a developer using this package passes unvalidated
user input directly into the `repo` prop (for example, reading it from a URL query parameter), an attacker
can execute arbitrary JavaScript in the context of the user's browser. In version 1.0.1, the use of
dangerouslySetInnerHTML has been removed, and the repo prop is now safely rendered using standard React
JSX data binding, which automatically escapes HTML entities. (CVE-2026-27612)

See Also

https://github.com/advisories/GHSA-fm8c-6m29-rp6j

Plugin Details

Severity: Medium

ID: 438009

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 2/28/2026

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.59

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-27612

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: 2/25/2026

Vulnerability Publication Date: 2/25/2026

Reference Information

CVE: CVE-2026-27612

cwe: CWE-79