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.
References
| Link | Resource |
|---|---|
| https://github.com/denpiligrim/repostat/commit/715df5f73359d222fd7876e948d14290180e3c88 | Patch |
| https://github.com/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j | Exploit Vendor Advisory |
Configurations
History
27 Feb 2026, 19:08
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/denpiligrim/repostat/commit/715df5f73359d222fd7876e948d14290180e3c88 - Patch | |
| References | () https://github.com/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j - Exploit, Vendor Advisory | |
| CPE | cpe:2.3:a:denpiligrim:repostat:*:*:*:*:*:node.js:*:* | |
| First Time |
Denpiligrim repostat
Denpiligrim |
25 Feb 2026, 03:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-02-25 03:16
Updated : 2026-02-27 19:08
NVD link : CVE-2026-27612
Mitre link : CVE-2026-27612
CVE.ORG link : CVE-2026-27612
JSON object : View
Products Affected
denpiligrim
- repostat
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
