Skip to main content

Teampass CVE-2026-3107

| EUVDEUVD-2026-17347 CRITICAL
Cross-site Scripting (XSS) (CWE-79)
2026-03-31 INCIBE GHSA-65q8-p76v-6qj6
9.3
CVSS 4.0 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious JavaScript payload
  2. Delivery
    Upload via password import endpoint
  3. Exploit
    Payload stored unsanitized in database
  4. Execution
    Other users view imported passwords
  5. Impact
    JavaScript executes in victim 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

Requires authenticated access to Teampass versions prior to 3.1.5.16. Attacker uploads malicious JavaScript payload via password import functionality at endpoint 'index.php?page=items'. Payload executes when other authenticated users view imported passwords in their browsers.

Impact

This vulnerability presents critical real-world risk despite absence of EPSS and KEV data. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) indicates network-accessible exploitation requiring no authentication, no attack complexity, and no user interaction-an exceptionally permissive attack surface. High confidentiality and integrity impact (VC:H/VI:H) reflects the password manager context where successful exploitation enables credential theft across the entire organization. No public exploit identified at time of analysis, but the vulnerability's technical simplicity (basic XSS injection) combined with unauthenticated access makes weaponization straightforward for moderately skilled attackers. The stored nature creates persistent compromise-unlike reflected XSS, the payload remains active until administrators identify and remove malicious entries. In SSVC terms: exploitation status is publicly disclosed with patch available, automatable (import endpoints are programmatically accessible), and technical impact enables credential compromise and privilege escalation. Organizations using Teampass in production environments should treat this as highest priority given the critical trust placed in password management infrastructure and the unauthenticated attack vector enabling external threat actors to compromise internal credentials.

Exploit ScenarioDerived

An external attacker identifies a Teampass instance through reconnaissance scanning and accesses the unauthenticated password import endpoint at index.php?page=items. The attacker crafts a malicious password entry containing JavaScript payload such as an image tag with onerror event handler that exfiltrates session cookies to attacker-controlled infrastructure, then imports this weaponized entry into the shared password database. When legitimate users including administrators subsequently view the imported password entries during routine credential management operations, the stored payload executes silently in their browsers, transmitting session tokens and CSRF tokens to the attacker. With harvested administrator session cookies, the attacker authenticates as the administrator without credentials, accesses all organizational passwords stored in Teampass, and establishes persistent access to downstream systems by extracting credentials for VPNs, cloud platforms, and critical infrastructure.

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

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

Alert me

AnalysisAIv1 – Mar 31, 2026

Stored cross-site scripting in Teampass password manager versions before 3.1.5.16 enables unauthenticated remote attackers to inject malicious JavaScript through the password import functionality, achieving persistent code execution in victims' browsers including administrators. CVSS 9.3 (Critical) with EPSS data unavailable, no KEV listing, and patch available per vendor advisory. Attack requires no authentication (PR:N) and low complexity (AC:L), creating significant risk for organizational password compromise and lateral movement.

RemediationAI

Organizations must immediately upgrade Teampass to version 3.1.5.16 or later, which contains vendor-released patches addressing this stored XSS vulnerability. The official security advisory and patch information is available from INCIBE at https://www.incibe.es/en/incibe-cert/notices/aviso/multiple-vulnerabilities-teampass. During the upgrade window, implement emergency mitigations by restricting access to the password import functionality (index.php?page=items endpoint) through web application firewall rules or authentication layer controls, limiting this capability only to highly trusted administrators. Conduct immediate forensic review of existing password entries imported since last known-good baseline to identify and remove potential stored XSS payloads-search database records for JavaScript event handlers, script tags, and HTML encoding anomalies. After patching, force password rotation for all credentials stored in Teampass and invalidate all active user sessions to prevent exploitation of potentially compromised session tokens. Review application access logs for suspicious import operations preceding the patch deployment, particularly imports from previously unused accounts or containing unusually large payloads.

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 written in PHP, designed for team-based credential storage and sharing. This vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) affects the password import module at the items endpoint. The application fails to implement proper input sanitization and output encoding when processing imported password data, allowing JavaScript payloads to be stored directly in the backend database. When rendered in other users' browsers during password viewing operations, the stored payload executes without additional interaction, creating a persistent XSS condition. The affected product per CPE data is cpe:2.3:a:teampass:teampass:*:*:*:*:*:*:*:* covering all versions prior to 3.1.5.16. The PHP-based architecture and collaborative nature of the application amplify impact, as a single malicious import can compromise multiple users accessing shared credentials.

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:58 nvd
CRITICAL 9.3

DescriptionCVE.org

Stored Cross-Site Scripting (XSS) in Teampass versions prior to 3.1.5.16, affecting the password manager's password import functionality at the endpoint 'redacted/index.php?page=items'. The application fails to properly sanitize and encode user-input data during the import process, allowing malicious JavaScript payloads to be persistently stored in the database. When other users view the imported passwords, the payload is automatically executed in their browsers, resulting in a stored XSS condition at the endpoint 'redacted/index.php?page=items'. Exploiting this vulnerability allows an attacker to execute arbitrary JavaScript code in the context of multiple users and the administrator, which can lead to session hijacking, credential theft, privilege abuse, and compromise of application integrity.

Executive ViewAI

Why It Matters

Teampass password manager versions before 3.1.5.16 contain a critical stored cross-site scripting vulnerability in the password import function that allows unauthenticated attackers to inject persistent malicious code executable in all users' browsers, including administrators. Successful exploitation could compromise stored credentials and enable lateral movement across dependent systems, making immediate patching essential to protect authentication infrastructure and prevent credential theft at scale.

Business Impact: Severe
Compensating Controls

Vendor-released patch: version 3.1.5.16 or later. If immediate upgrade is impossible: disable password import functionality; restrict Teampass access to trusted IP ranges; implement Web Application Firewall rules to block suspicious import requests; conduct daily audit logs for injection attempts.

Threat Intelligence Overview

EPSS Score
0.0%
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.0%
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