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

Update list.js #546

Merged
merged 1 commit into from
Nov 5, 2023
Merged

Update list.js #546

merged 1 commit into from
Nov 5, 2023

Conversation

AndriiZakhliupanyi
Copy link
Contributor

@AndriiZakhliupanyi AndriiZakhliupanyi commented Oct 2, 2023

Hello, i want to update list.js.
Old list.js have issue:
"The list.js package is vulnerable to Cross-Site Scripting (XSS) attacks. The add() function in index.js adds item objects to a list object without performing any checks in the contents being passed in the value parameter. An attacker who can supply input to the add() function could use it to store a malicious JavaScript payload. If the list object is then rendered in HTML, this would result in script execution."

I hope latest version fix it.

Update to version 2.3.1: https://raw.githubusercontent.com/javve/list.js/v2.3.1/dist/list.min.js

@AndriiZakhliupanyi
Copy link
Contributor Author

@ksuther Hi! Can you review PR?

@ksuther ksuther merged commit 264dd5f into SlatherOrg:master Nov 5, 2023
@ksuther
Copy link
Contributor

ksuther commented Nov 5, 2023

Thanks for the PR!

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

Successfully merging this pull request may close these issues.

2 participants