Advisory ID:   ngCERT-2026-110018

CVE(s): CVE-2020-11023, CVE-2020-11022, CVE-2019-11358 and CVE-2015-9251

Damage:     Medium (CVSS Score: 6.1)

Probability:  High

Platform(s):  jQuery JavaScript Library and web applications incorporating vulnerable versions

SUMMARY

ngCERT alerts users and organisations to multiple security vulnerabilities affecting the jQuery JavaScript library, widely deployed for websites and web applications. The flaws, identified as CVE-2020-11023, CVE-2020-11022, CVE-2019-11358 and CVE-2015-9251, involve cross-site scripting (XSS) and prototype pollution weaknesses that could allow attackers to execute unauthorised JavaScript, manipulate application behaviour or compromise the security of affected web sessions. The vulnerabilities affect various older jQuery releases, and CVE-2020-11023 is included in CISA's Known Exploited Vulnerabilities Catalog. Organisations running affected versions are advised to identify vulnerable deployments and apply appropriate security updates.

DESCRIPTION

The vulnerabilities arise from weaknesses in how jQuery processes untrusted HTML, handles JavaScript responses from cross-origin Ajax requests and extends JavaScript objects. CVE-2020-11023 affects versions from 1.0.3 to releases before 3.5.0, where processing untrusted HTML containing <option> elements through DOM manipulation methods may execute malicious code.
CVE-2020-11022 affects versions from 1.12.0 to releases before 3.5.0, allowing potentially unsafe HTML supplied by untrusted sources to trigger script execution through methods such as .html() and .append(). CVE-2019-11358 affects versions before 3.4.0, where improper handling of the __proto__ property during deep object extension can result in prototype pollution. On the other hand, CVE-2015-9251 affects versions before 3.0.0 under specified release ranges, where cross-domain Ajax requests without an explicitly defined data type may cause JavaScript responses to execute unexpectedly. Successful exploitation depends on application implementation and the processing of attacker-controlled data.

CONSEQUENCES

Successful exploitation of this vulnerability could result in:

    1. Unauthorised JavaScript execution.
    2. Session and credential compromise.
    3. Web content manipulation.
    4. Unauthorised application actions.
    5. Application integrity and availability risks.

SOLUTION/MITIGATION

ngCERT recommends the following:

    1. Identify websites, applications and embedded components using vulnerable jQuery versions through software inventory, dependency scanning and source-code reviews.
    2. Upgrade affected jQuery installations to the latest supported, security-patched release, preferably a current stable version.
    3. Review third-party applications, content management systems, plugins and themes that may bundle vulnerable jQuery libraries, and apply their respective vendor security updates.
    4. Validate and sanitise untrusted HTML and user-supplied data before processing or inserting content into web pages.
    5. Avoid unsafe DOM manipulation of untrusted content and use reputable HTML sanitisation libraries where HTML input is required.
    6. Ensure cross-origin Ajax responses are handled using explicit data types and appropriate validation and prevent unintended execution of returned scripts.
    7. Implement Content Security Policy (CSP), monitor web application activity and review security logs for suspicious script injection or unexpected client-side behaviour.  

HYPERLINK