Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stored XSS in previous password field #2685

Closed
lebik opened this issue Sep 25, 2019 · 2 comments
Closed

Stored XSS in previous password field #2685

lebik opened this issue Sep 25, 2019 · 2 comments

Comments

@lebik
Copy link

lebik commented Sep 25, 2019

Steps to reproduce

  1. Add a new item to any folder, set a password with XSS payload:
"><img src=x onerror=prompt(1)>
  1. Edit the previous saved item, change the password to any you want
  2. Reload the page.

That's all... we can tap to the item and XSS payload will be executed (because there isn't any filtration in previous used passwords field).
Besides, XSS payload will be executed if you try to look at the change history.

So we have two places where there isn't any filtration.
An attacker can share the item to admin and get admin's cookie for example.

teampass_stored_xss_2

@NicoleG25
Copy link

Hi @nilsteampassnet ,
Do you know if this issue was ever addressed? it appears to be assigned CVE-2019-16904
Thanks in advance !

@lebik
Copy link
Author

lebik commented Dec 23, 2020

Hi @NicoleG25 , yep, it's CVE-2019-16904

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants