Description
JupyterLab Git is a Git extension for JupyterLab. From 0.30.0b3 before 0.54.0, the PlainTextDiff.ts createHeader() method passes Git filenames directly to innerHTML when rendering renamed files in commit history, allowing a crafted filename to execute JavaScript when a victim views the rename diff in the Git History tab. This issue is fixed in version 0.54.0.
Problem types
CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
References
github.com/...ab-git/security/advisories/GHSA-f962-v9hr-pfg5
github.com/...ab-git/security/advisories/GHSA-f962-v9hr-pfg5
github.com/...ommit/c6d37b88f36aa59aee317930b95e427fb9d6b09b
github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0