5.8medium
lakeFS vulnerable to Arbitrary JavaScript Injection via Direct Link to HTML Files
- Severity
- 5.8medium CVSS:3.1 by GitHub
- Published
- Last changed
- Also known as
- GO-2023-2012
Description
Impact
The browser renders the resulting HTML when opening a direct link to an HTML file via lakeFS. Any JavaScript within that page is executed within the context of the domain lakeFS is running in.
An attacker can inject a malicious script inline, download resources from another domain, or make arbitrary HTTP requests. This would allow the attacker to send information to a random domain or carry out lakeFS operations while impersonating the victim.
Note that to carry out this attack, an attacker must already have access to upload the malicious HTML file to one or more repositories. It also depends on the victim receiving and opening the link to the malicious HTML file.
Patches
This is fixed in lakeFS version 0.106.0
Workarounds
There are no known workarounds at this time.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| github.com/treeverse/lakefs (Go) | before 0.106.0 | GitHub Advisory Database, Go Vulnerability Database |
What each source says
GitHub Advisory Database
Impact
The browser renders the resulting HTML when opening a direct link to an HTML file via lakeFS. Any JavaScript within that page is executed within the context of the domain lakeFS is running in.
An attacker can inject a malicious script inline, download resources from another domain, or make arbitrary HTTP requests. This would allow the attacker to send information to a random domain or carry out lakeFS operations while impersonating the victim.
Note that to carry out this attack, an attacker must already have access to upload the malicious HTML file to one or more repositories. It also depends on the victim receiving and opening the link to the malicious HTML file.
Patches
This is fixed in lakeFS version 0.106.0
Workarounds
There are no known workarounds at this time.
Go Vulnerability Database
lakeFS vulnerable to Arbitrary JavaScript Injection via Direct Link to HTML Files in github.com/treeverse/lakefs
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-9phh-r37v-34wh changed 2024-08-21 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2023-2012 changed 2026-03-03 | CC-BY-4.0 |