Cross Site Scripting Vulnerability in jQuery UI 1.13.1

jqueryui Updated 02 Oct 2025

Summary

17/10/2024
N/A
No i
Unrated
Not published

CVE-2024-30875: Cross Site Scripting vulnerability in JavaScript Library jquery-ui v.1.13.1 allows a remote attacker to obtain sensitive information and execute arbitrary code via a crafted payload to the window.addEventListener compone... Affects jqueryui versions 1.12.1+dfsg-8 – 1.13.2+dfsg-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

jQuery UI is a popular JavaScript library that provides a set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. It is widely used in web development to enhance user experience by providing rich UI components. However, the version 1.13.1 has been identified to contain a Cross Site Scripting (XSS) vulnerability that could allow attackers to exploit the library and execute arbitrary code.

Vulnerability Detail

The vulnerability, identified as CVE-2024-30875, arises from improper handling of user input in the window.addEventListener component of jQuery UI. A remote attacker can craft a malicious payload that, when executed, could lead to the exposure of sensitive information or the execution of arbitrary code within the context of the user's browser. This vulnerability poses significant risks, particularly in applications that rely on user-generated content or that do not properly sanitize input.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can implement input validation and sanitization measures to mitigate the risk of XSS attacks. This can include escaping user input before rendering it in the DOM. For example, using libraries like DOMPurify can help sanitize HTML content before it is added to the page.

Conclusion

The Cross Site Scripting vulnerability in jQuery UI version 1.13.1 poses significant risks to web applications that utilize this library. It is crucial for developers to update to a patched version and implement security best practices to safeguard their applications against potential attacks.

See every vulnerability recorded for jqueryui →

Share this vulnerability

FAQ

CVE-2024-30875 is a Cross Site Scripting vulnerability found in jQuery UI version 1.13.1 that allows remote attackers to execute arbitrary code.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The risks include exposure of sensitive information and the potential for attackers to execute arbitrary code in the context of the user's browser.

Yes, updating to a version of jQuery UI higher than 1.13.1 will address this vulnerability.

Implement input validation and sanitization measures to mitigate the risk of XSS attacks until you can update to a patched version.

Related vulnerabilities

Recent vulnerabilities recorded for jqueryui.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback