You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
XSS and other weirdness in dataframe viewer with both rownames and list or dataframe entries #10712
RStudio Edition : Desktop [Open Source]
RStudio Version : 2022.2.0.443
OS Version : Windows 10 x64 (build 19043)
R Version : R version 4.0.5 (2021-03-31)
Steps to reproduce the problem
After running the following code, clicking the magnifying glass to open the nested list will cause a Javascript alert:
I would expect this to use the row number instead of the row name. I don't know if this is available as commit e69526b (part of the pull request that introduced the feature) intentionally changed this, possibly having some issues with the virtualized rows.
Activity
ronblum commentedon Mar 2, 2022
@FallingPineapples Thank you for raising the issue, and I especially appreciate your thorough investigation!
I'm able to consistently reproduce this going back to RStudio Desktop 1.2.5042 on MacOS 12.1. We'll review this as we continue development of RStudio.
Triage note: This isn't a regression, so I'm marking this as a candidate for the Data Viewer redesign.