Skip to content
XSS Disclosed report Beginner CVE-2023-3009

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).

The original report as published on the GitHub Advisory Database. Images and videos are our own copies; raw HTML is shown as text. View it on GitHub Advisory Database.

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.

More from nilsteampassnet/teampass

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.