@jupyterlab/git@0.54.0-a0

A JupyterLab extension for version control using git

  • latest version

    0.54.0

  • latest non vulnerable version

  • first published

    7 years ago

  • latest version published

    26 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the @jupyterlab/git 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
    • H
    Cross-site Scripting (XSS)

    @jupyterlab/git is an A JupyterLab extension for version control using git

    Affected versions of this package are vulnerable to Cross-site Scripting (XSS) in the createHeader method. An attacker can execute arbitrary JavaScript in another user's browser session by crafting a malicious filename containing a JavaScript payload, committing and renaming the file in a shared Git repository, and having the victim view the rename diff in the Git History tab. This can lead to the execution of arbitrary shell commands, exfiltration of secrets, or credentials from the victim's environment.

    Note: This is only exploitable if the attacker has commit access to a Git repository that the victim clones and the victim navigates to the Git History tab, clicks the rename commit, and views the diff of the renamed file.

    How to fix Cross-site Scripting (XSS)?

    Upgrade @jupyterlab/git to version 0.54.0 or higher.

    >=0.30.0-beta.3 <0.54.0