CVE-2022-26980
PHP vulnerability analysis and mitigation

Overview

Teampass 2.1.26 contains a reflected Cross-Site Scripting (XSS) vulnerability that allows attackers to execute arbitrary JavaScript code via the index.php PATH_INFO parameter. The vulnerability was discovered by Raspina Net Pars Group (RNPG) and assigned CVE-2022-26980 (MITRE CVE, GitHub POC).

Technical details

The vulnerability exists in the index.php file of Teampass version 2.1.26, where user input from the PATH_INFO parameter is not properly sanitized before being reflected back to the user's browser. This allows attackers to inject malicious JavaScript code that will be executed in the victim's browser context. A proof of concept demonstrates successful exploitation using a payload like http:///?"'>alert('rnpg')" (GitHub POC).

Impact

When successfully exploited, this vulnerability allows attackers to execute arbitrary JavaScript code in the context of other users' browsers who visit the specially crafted URL. This could lead to theft of session cookies, credentials, or other sensitive information, as well as potential manipulation of the application's interface and functionality (GitHub POC).

Mitigation and workarounds

Users should upgrade to a version newer than Teampass 2.1.26. The vulnerability has been addressed in subsequent releases as indicated by the project's commit history (TeamPass Commits).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-13828CRITICAL9
  • PHPPHP
  • mautic/core
NoYesDec 02, 2025
CVE-2025-13827HIGH8.8
  • PHPPHP
  • mautic/grapes-js-builder-bundle
NoYesDec 02, 2025
CVE-2025-66312MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66311MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025
CVE-2025-66310MEDIUM6.2
  • PHPPHP
  • getgrav/grav
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management