CVE-2026-27612 json
Repostat Vulnerable to Reflected Cross-Site Scripting (XSS) via repo prop in RepoCard
published 2026-02-25 8 mo ago modified 2026-11-03 5 d ago also GHSA-fm8c-6m29-rp6j , EUVD-2026-8599
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 8 mo ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | repostat | <1.0.1 |
1.0.1 |
Affected products
- denpiligrim repostat
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/denpiligrim/repostat/commit/715df5f73359d222fd7876e948d14290180e3c88
web, patch
-
github.com
/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-27612
advisory
-
github.com
/denpiligrim/repostat
package
Sources
- CVE List CVE-2026-27612
- GitHub Advisory GHSA-fm8c-6m29-rp6j
- NVD CVE-2026-27612
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.