Skip to content

MaterialLabel does not escape the given text. #497

@yu-kopylov

Description

@yu-kopylov

MaterialLabel does not escape the given text.
This behaviour is different from GWT Label and potentially enables XSS attacks.
GWT-Material Version: 1.6.2

Example:
label.setText("<button>test</button>") - will display a button, instead of text

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions