{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-3107 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-3107 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-3107 is a critical cross-site scripting vulnerability in Teampass Teampass, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-3107 and fix it if it is affected.\n\nWhat it is: CVE-2026-3107 is a critical cross-site scripting vulnerability in Teampass Teampass, published on 31 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-3107 in the wild and no public exploit code.\n\nAffected product: Teampass Teampass. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-3107/ (Markdown: https://insights.sbomify.com/CVE-2026-3107/index.md)","id":"CVE-2026-3107","markdown":"https://insights.sbomify.com/CVE-2026-3107/index.md","name":"CVE-2026-3107","record":{"aliases":["GHSA-65q8-p76v-6qj6"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Password manager","requires_auth":"none","summary":"Stored XSS in Teampass allows attackers to execute arbitrary JavaScript via password imports, leading to session hijacking and credential theft.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"INCIBE","cpe":[{"product":"teampass","vendor":"teampass"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Multiple vulnerabilities in Teampass","id":"CVE-2026-3107","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"teampass:teampass","products":["teampass:teampass"],"type":"xss","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Terminal Escape Injection in mmctl Report Posts Command","id":"CVE-2026-3108"},"packages":[],"prev":{"headline":"Multiple vulnerabilities in Teampass","id":"CVE-2026-3106"},"products":["Teampass"],"published":"2026-03-31","related":[{"cvss_score":9.8,"headline":"TeamPass Storing Passwords in a Recoverable Format vulnerability","id":"CVE-2019-1000001","kev_date_added":null,"published":"2019-02-04"},{"cvss_score":9.8,"headline":"TeamPass SQL injection in users.queries.php","id":"CVE-2017-9436","kev_date_added":null,"published":"2017-06-05"},{"cvss_score":9.8,"headline":"TeamPass vulnerable to SQL Injection","id":"CVE-2015-7564","kev_date_added":null,"published":"2017-04-12"},{"cvss_score":9.3,"headline":"Multiple vulnerabilities in Teampass","id":"CVE-2026-3106","kev_date_added":null,"published":"2026-03-31"},{"cvss_score":9.1,"headline":"Code Injection in nilsteampassnet/teampass","id":"CVE-2023-3551","kev_date_added":null,"published":"2023-07-08"},{"cvss_score":9,"headline":"Cross-site Scripting (XSS) - Stored in nilsteampassnet/teampass","id":"CVE-2023-3086","kev_date_added":null,"published":"2023-06-03"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-03-31","vendors":["Teampass"]},"summary":"Stored XSS in Teampass allows attackers to execute arbitrary JavaScript via password imports, leading to session hijacking and credential theft.","url":"https://insights.sbomify.com/CVE-2026-3107/"}