repostat@1.0.0 vulnerabilities

A simple React component to fetch and display GitHub repository info

  • latest version

    1.0.1

  • latest non vulnerable version

  • first published

    12 days ago

  • latest version published

    12 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the repostat package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Cross-site Scripting (XSS)

    repostat is an A simple React component to fetch and display GitHub repository info

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) via the RepoCard component when untrusted input is passed to the repo prop and rendered using dangerouslySetInnerHTML without sanitization. An attacker can execute arbitrary JavaScript in the user's browser by supplying crafted input to the affected prop.

    How to fix Cross-site Scripting (XSS)?

    Upgrade repostat to version 1.0.1 or higher.

    <1.0.1