CVE-2023-3191: Teampass Cross-site Scripting vulnerability
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.28766%
CWE
Published
6/10/2023
Updated
11/5/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| nilsteampassnet/teampass | composer | < 3.0.9 | 3.0.9 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key evidence comes from the commit diff showing fieldSanitizeStep1 was removed and replaced with simplePurifier/fieldDomPurifier functions that enforce safer defaults (bHtml=false). The vulnerability description explicitly mentions improper input sanitization leading to stored XSS, and the patch changes how text inputs are processed. The original function's parameters allowed HTML content by default and its entity decoding before sanitization created an injection risk vector.