# CVE-2026-27612: Repostat Vulnerable to Reflected Cross-Site Scripting (XSS) via repo prop in RepoCard

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-25T02:38:05.548Z
- Modified: 2026-11-03T23:17:41.027Z
- Also known as: GHSA-fm8c-6m29-rp6j
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- denpiligrim repostat: < 1.0.1; before 1.0.1
- repostat (npm): before 1.0.1

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/denpiligrim/repostat/security/advisories/GHSA-fm8c-6m29-rp6j> (exploit, vendor-advisory, web)
- <https://github.com/denpiligrim/repostat/commit/715df5f73359d222fd7876e948d14290180e3c88> (patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27612> (advisory)
- <https://github.com/denpiligrim/repostat> (package)

## Sources

- CVE List: [CVE-2026-27612](https://www.cve.org/CVERecord?id=CVE-2026-27612), CVE Terms of Use, modified 2026-11-03
- GitHub Advisory Database: [GHSA-fm8c-6m29-rp6j](https://github.com/advisories/GHSA-fm8c-6m29-rp6j), CC-BY-4.0, modified 2026-02-25
- NVD: [CVE-2026-27612](https://nvd.nist.gov/vuln/detail/CVE-2026-27612), Public domain, modified 2026-11-03

---

Page: https://cve.day/CVE-2026-27612 · Whole record: https://cve.day/CVE-2026-27612.json · Rebuilt by cve.day 2026-11-25T22:59:14.807Z
