Vulnerabilities/

XSS in the `altField` option of the Datepicker widget in jquery-ui

Severity:
Medium

Description

Accepting the value of the altField option of the Datepicker widget from untrusted sources may execute untrusted code. For example, initializing the datepicker in the following way:

will call the doEvilThing function.

Recommendation

Update the jquery-ui package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
jquery-ui
Anything's wrong? Let us know Last updated on September 26, 2023

This issue is available in SmartScanner Professional

See Pricing