teampass vulnerable to code injection
Date: 2023-05
Affected: composer/nilsteampassnet/teampass
Attack vector: other
Category: vulnerability-disclosure
Severity: High
CVE: CVE-2023-2591
CWE: CWE-79
CWE-94
CVSS: 7.1 (CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N)

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.


Mitigations:

Architectural layers (MAESTRO):