Findings

CVE-2026-27612

Repostat is a React component to fetch and display GitHub repository info.

Published Feb 25, 2026 · updated Jun 17, 2026 · denpiligrim repostat

Repostat is a React component to fetch and display GitHub repository info. Prior to version 1.0.1, the component is vulnerable to Reflected Cross-Site Scripting (XSS). The vulnerability occurs because the component uses React's to render the repository name ( prop) during the loading state without any sanitization. If a developer using this package passes unvalidated user input directly into the 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.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 25, 2026 · NIST NVD

    Detected

    Repostat is a React component to fetch and display GitHub repository info. Prior to version 1.0.1, the component is vulnerable to Reflected Cross-Site Scripting (XSS). The vulnerability occurs because the component uses React's to render the repository name ( prop) during the loading state without any sanitization. If a developer using this package passes unvalidated user input directly into the p

  2. Jun 17, 2026 · NIST NVD

    Updated

    Repostat is a React component to fetch and display GitHub repository info. Prior to version 1.0.1, the component is vulnerable to Reflected Cross-Site Scripting (XSS). The vulnerability occurs because the component uses React's to render the repository name ( prop) during the loading state without any sanitization. If a developer using this package passes unvalidated user input directly into the p

Affected

  • cpe denpiligrim/repostatversion unspecified

Sources

  • CVE.orgVulnerability recordCVE-2026-27612

    Official CVE identifier

    cve.org
  • NIST NVDVulnerability recordCVE-2026-27612

    Repostat is a React component to fetch and display GitHub repository info. Prior to version 1.0.1, the component is vulnerable to Reflected Cross-Site Scripting (XSS). The vulnerability occurs because the component uses React's to render the r

    nvd.nist.gov

References