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

Internal State Exposure in ThemeList.java Class: #118

Open
BearSolitary opened this issue Aug 15, 2023 · 0 comments
Open

Internal State Exposure in ThemeList.java Class: #118

BearSolitary opened this issue Aug 15, 2023 · 0 comments

Comments

@BearSolitary
Copy link

I’ve identified a security vulnerability related to the exposure of the internal representation in the “ThemeList.java” class.

FirstBug

Method getThemes() in the ThemeList.java class returns a direct reference to its private ‘themes’ list. Therefore, any caller can maliciously modify internal representation leading to data corruption. For example, the caller can perform the operation “themeList.getTHemes().clear()” and clear the data in the list.

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

1 participant