-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
XSS in Debug Console [Theia v1.8.0] #8794
Comments
I've assigned CVE-2021-28161 with this description:
Let me know if updates are required. |
Any progress about this issue? |
There is a tentative fix, under review: #9339 |
Any help validating the proposed fix is welcome. |
@waynebeaton @marcdumais-work is there anything we need to do regarding the |
The CVE has been assigned and promoted. Nothing more to do there (unless an update is required). |
Bug Description:
In the debug console there is no HTML escaping, so arbitrary Javascript code can be injected. I think the issue is
dangerouslySetInnerHTML
in ansi-console-item.tsx (L41)I think this issue is similar to #7283
Steps to Reproduce:
See also the attached PoC video.
Additional Information
Questions
The text was updated successfully, but these errors were encountered: