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

When used edit ticket button on the ticket view page in the message field contains XSS and script code #597

Open
komal-sh-27 opened this issue Sep 6, 2022 · 0 comments
Labels
1.1.0 Version This is related to version 1.1.0 uvdesk 1.1.1 Version This is related to version 1.1.1 uvdesk 1.2.0 Version Bug Something isn't working Ticket Regarding Tickets issues XSS Stored Regarding any security issue with XSS stored payload

Comments

@komal-sh-27
Copy link

Description
When used edit ticket button on the ticket view page in the message field contains XSS code

How to reproduce
Step 1: Go to the admin panel and click on tickets

Step 2: Now click on the edit ticket option and use these code scripts:

1. <script type = "text/javascript">
function fun() {
alert ("This is an alert dialog box");
}
</script>

image

After updating the ticket here does not show script code like text:

image

2. <b onmouseover=alert('Uvdesk!')>click me!

image

After update:

image

Hover or click on this shows an alert box:

mouse-hover

3. ">

image

After Update shows an alert box:

script-pop-up

Possible Solution

If we using any script code so should be shown all content like this:

image

@komal-sh-27 komal-sh-27 added Bug Something isn't working Ticket Regarding Tickets issues labels Sep 6, 2022
@komal-sh-27 komal-sh-27 added 1.1.0 Version This is related to version 1.1.0 uvdesk 1.1.1 Version This is related to version 1.1.1 uvdesk 1.2.0 Version labels Dec 26, 2022
@komal-sh-27 komal-sh-27 added the XSS Stored Regarding any security issue with XSS stored payload label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.1.0 Version This is related to version 1.1.0 uvdesk 1.1.1 Version This is related to version 1.1.1 uvdesk 1.2.0 Version Bug Something isn't working Ticket Regarding Tickets issues XSS Stored Regarding any security issue with XSS stored payload
Projects
None yet
Development

No branches or pull requests

1 participant