Skip to content

fix(client-participation): mitigate CVE-2015-9251 in vendored jQuery#2526

Open
navnitan-7 wants to merge 1 commit intocompdemocracy:edgefrom
navnitan-7:fix/cve-2015-9251-vendored-jquery
Open

fix(client-participation): mitigate CVE-2015-9251 in vendored jQuery#2526
navnitan-7 wants to merge 1 commit intocompdemocracy:edgefrom
navnitan-7:fix/cve-2015-9251-vendored-jquery

Conversation

@navnitan-7
Copy link
Copy Markdown

@navnitan-7 navnitan-7 commented Apr 1, 2026

Summary

Backports the jQuery ajaxConvert mitigation for cross-domain automatic script handling (jquery/jquery@2546bb35, gh-2432 / CVE-2015-9251) into client-participation/js/3rdparty/jquery.js.

Scope

  • Vendored jQuery: insert continue when s.crossDomain && current === "script" inside ajaxConvert, matching upstream.
  • Regression guard: client-participation/scripts/verify-jquery-cve-2015-9251.cjs and npm test in client-participation.

Reproduction (before)

On edge, ajaxConvert in js/3rdparty/jquery.js lacked the cross-domain script skip, so behavior diverged from jQuery post-2546bb35 (see CVE-2015-9251 / gh-2432).

Verification (after)

cd client-participation && npm test

Observed: verify-jquery-cve-2015-9251: ok (exit 0).

Notes

  • Upstream equivalence: same guard as jQuery commit above.
  • Minimal change; no dependency version bumps.

Apply jQuery compdemocracygh-2432 ajaxConvert guard (crossDomain script) from:
jquery/jquery@2546bb3

Add npm test regression guard for the mitigation string.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant