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

teampass vulnerable to code injection

In TeamPass before 3.0.7, a malicious user who shares folder access with another user can create an item whose label field is vulnerable to HTML injection. When the other user views that item, the injected HTML may redirect them to an attacker-controlled site or capture their data via a form.

nilsteampassnet/teampass

Originally disclosed on huntr

In nilsteampassnet/teampass prior to 3.0.7, if two users have the same folder access, malicious users can create an item where its label field is vulnerable to HTML injection. When other users see that item, it may force them to redirect to the attacker's website or capture their data using a form. The issue is fixed in version 3.0.7.

From the GitHub Advisory Database (GHSA-prj5-2g2p-x2mw, 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 did not properly sanitise or encode the item label field before rendering it in the browser.

Impact

An attacker could redirect other users to a malicious website or capture their data using a form; the text does not state whether any defence limited the attack.

What the attacker needed

Two users share folder access; attacker can create an item; victim views the item

The fix

The issue was fixed in version 3.0.7.

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.

TeamPass is a password manager. A user with access to a shared folder could put harmful HTML code into the name of an item. When another user opened that item, the code could send them to a fake website or steal information they typed.

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.