QID 980030
QID 980030: Nodejs (npm) Security Update for jquery-ui (GHSA-j7qv-pgf6-hvh4)
Security update has been released for jquery-ui to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
Accepting the value of various `*Text` options of the Datepicker widget from untrusted sources may execute untrusted code. For example, initializing the datepicker in the following way:
```js
$( "#datepicker" ).datepicker( {
showButtonPanel: true,
showOn: "both",
closeText: "<script>doEvilThing( 'closeText XSS' )</script>",
currentText: "<script>doEvilThing( 'currentText XSS' )</script>",
prevText: "<script>doEvilThing( 'prevText XSS' )</script>",
nextText: "<script>doEvilThing( 'nextText XSS' )</script>",
buttonText: "<script>doEvilThing( 'buttonText XSS' )</script>",
appendText: "<script>doEvilThing( 'appendText XSS' )</script>",
} );
```
will call `doEvilThing` with 6 different parameters coming from all `*Text` options.
A workaround is to not accept the value of the `*Text` options from untrusted sources.
- GHSA-j7qv-pgf6-hvh4 -
github.com/advisories/GHSA-j7qv-pgf6-hvh4
CVEs related to QID 980030
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-j7qv-pgf6-hvh4 | jquery-ui |
|