nilsteampassnet/teampass vulnerable to cross-site scripting
A stored cross-site scripting flaw existed in TeamPass before version 3.0.9, allowing an attacker to inject malicious code into a shared folder. Other users with access to that folder could then execute the code.
nilsteampassnet/teampass
Originally disclosed on huntr
Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. This enables an attacker to inject malicious code into a shared folder, which can then be executed by other users who have access to the folder.
From the GitHub Advisory Database (GHSA-h5g9-2p35-54c7, CC BY 4.0).
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application stored user-supplied folder content without properly encoding or sanitising it before rendering it to other users.
Impact
An attacker could run code in the browsers of other users who have access to the affected shared folder, which may let them act as those users.
What the attacker needed
Access to a shared folder; victim opens the shared folder
The fix
It was fixed in version 3.0.9.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
Stored cross-site scripting means an attacker can save harmful code (usually JavaScript) into a website feature, and the site later shows it to other people. When those people open the page, their browser runs the code as if it came from the site itself. Here, a shared folder in TeamPass could hold the malicious code, so anyone else who viewed that folder might run it.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.