CVE-2025-5096: Insecure Merge Jquery Data

Direct merging of DOM data attributes into configuration objects using APIs like `$.extend` or `Object.assign` without escaping can lead to Cross-Site Scripting (XSS) if the attributes are later rendered. Ensure that data properties are appropriately sanitized before merging.

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0JS
greprules fetch cve-2025-5096-insecure-merge-jquery-data --engine opengrep

Description

Direct merging of DOM data attributes into configuration objects using APIs like `$.extend` or `Object.assign` without escaping can lead to Cross-Site Scripting (XSS) if the attributes are later rendered. Ensure that data properties are appropriately sanitized before merging.