Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. repostat
  4. ›
  5. CVE-2026-27612

CVE-2026-27612: repostat: Reflected Cross-Site Scripting (XSS) via repo prop in RepoCard

February 25, 2026

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.

References

  • github.com/advisories/GHSA-fm8c-6m29-rp6j
  • github.com/denpiligrim/repostat
  • github.com/denpiligrim/repostat/commit/715df5f73359d222fd7876e948d14290180e3c88
  • github.com/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j
  • nvd.nist.gov/vuln/detail/CVE-2026-27612

Code Behaviors & Features

Detect and mitigate CVE-2026-27612 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.1

Fixed versions

  • 1.0.1

Solution

Upgrade to version 1.0.1 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/repostat/CVE-2026-27612.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:25 +0000.