Description
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.
Recommendation
Update the repostat package to the latest compatible version. Followings are version details:
- Affected version(s): < 1.0.1
- Patched version(s): 1.0.1
References
Could your website be exposed too?
SmartScanner can check your website for repostat: Reflected Cross-Site Scripting (XSS) via repo prop in RepoCard and gives you actionable findings to investigate.
Start a free scanRelated Issues
- Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script at the end of a serialized function body - CVE-2026-115897
- Serialize JavaScript: Cross-site scripting (XSS) via unescaped </script> in serialized function bodies - CVE-2026-97711
- CleverTap Web SDK is vulnerable to DOM-based Cross-Site Scripting (XSS) via window.postMessage - CVE-2026-26862
- Jodit has cross-site scripting (XSS) via <script> nested in SVG that bypasses clean-html sanitization - CVE-2026-65841


