CVE-2017-15278: TeamPass Cross-Site Scripting (XSS)

nilsteampassnet/teampass Updated 02 Oct 2025

Summary

17/05/2022
Yes i
Moderate
5.4

CVE-2017-15278: TeamPass Cross-Site Scripting (XSS). Affects nilsteampassnet/teampass versions < 2.1.27.9. Fixed in 2.1.27.9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

TeamPass is an open-source password manager that allows users to securely store and share passwords. It provides a web-based interface for managing passwords and access rights. The vulnerability in question is a Cross-Site Scripting (XSS) issue that affects TeamPass versions prior to 2.1.27.9. This vulnerability arises due to inadequate data filtering in the 'folders.queries.php' file, allowing an attacker to execute arbitrary HTML and script code in the context of the vulnerable website.

Vulnerability Detail

The Cross-Site Scripting (XSS) vulnerability in TeamPass allows an attacker to inject malicious code into the web application, which is then executed by unsuspecting users. This can lead to various security risks, such as session hijacking, defacement of the website, or theft of sensitive information. The vulnerability originates from the lack of proper input validation and sanitization in the affected file, enabling attackers to bypass security measures and execute arbitrary code.

How To Fix

Minimum fixed version

2.1.27.9

This is the first release that contains the fix.

composer require nilsteampassnet/teampass:2.1.27.9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can implement additional input validation and sanitization measures in the affected file ('folders.queries.php'). This can involve using security libraries or functions that sanitize user input, such as HTMLPurifier. However, applying a proper fix by upgrading to the latest version is the recommended approach.

Conclusion

The TeamPass Cross-Site Scripting (XSS) vulnerability poses a moderate security risk to affected installations. To mitigate this vulnerability, it is crucial to upgrade to TeamPass version 2.1.27.9 or later. Implementing additional input validation and sanitization measures can serve as a temporary workaround. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for nilsteampassnet/teampass →

Share this vulnerability

FAQ

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users. This can lead to various attacks, such as session hijacking, defacement, or theft of sensitive information.

The TeamPass XSS vulnerability allows attackers to execute arbitrary code in the context of the vulnerable website. This can lead to unauthorized access, data theft, or manipulation of the TeamPass application and its stored passwords.

At the time of this report, there are no known public exploits specifically targeting this TeamPass XSS vulnerability. However, it is crucial to address the vulnerability promptly to prevent potential attacks.

No, only TeamPass versions prior to 2.1.27.9 are affected by this XSS vulnerability. It is recommended to upgrade to the latest version to ensure the security of your TeamPass installation.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your TeamPass installation is affected by this vulnerability. Simply upload your composer.lock file to the playground, and it will provide real-time alerts for open-source vulnerabilities, including this XSS issue.

Related vulnerabilities

Recent vulnerabilities recorded for nilsteampassnet/teampass.

How To Fix

Minimum fixed version

2.1.27.9

This is the first release that contains the fix.

composer require nilsteampassnet/teampass:2.1.27.9

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback