Skip to content

Admin UI - User Creation XSS Vulnerability #266

@sarkalgud-b

Description

@sarkalgud-b

Describe the bug

We are using the Skoruba Duende Admin Module out of the box for our project.
We noticed that Admin UI - User Creation Screen "Phone Number" field is exposed to XSS attacks..
Looking at the Admin UI code on GitHub, we noticed that there is no "asp-validation-for" attribute on the Phone Number input tag (or an associated span tag for the phone number).
Is there a fix that could be provided?

To Reproduce

As an Admin While creating a new user, In the Phone Number field use "${alert(location)}"
Login as the user that we created in the previous step
The script injection runs as a part of the login process, and the alert pops up ..

Image Image

Relevant parts of the log file

<log goes here>

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions