Skip to content

Conversation

@vanshika2720
Copy link
Contributor

@vanshika2720 vanshika2720 commented Jan 27, 2026

Summary

Update jQuery to v3.7.1 across the entire codebase to resolve security vulnerabilities (XSS) in older versions.

Implementation Details

  • Main App: Replaced legacy jquery-2.1.4.min.js with jquery-3.7.1.min.js in index.html.
  • Planet Feature: Updated planet/index.html from jquery-3.2.1.min.js to jquery-3.7.1.min.js.
  • Resource Management: Added the physical jquery-3.7.1.min.js file to the planet/libs/ directory to ensure local environment stability and fix reference errors.

Verification Results

  • Manual testing confirmed all jQuery-dependent UI components (modals, dropdowns, and buttons) continue to work correctly.
  • Confirmed no script loading errors in the browser console for both the main app and the Planet sub-app.

Relates to dependency security hardening.

fixes

#5378 #5364 #5369

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@vanshika2720 vanshika2720 force-pushed the chore/jquery-security-update branch from b2fdc48 to b83bd99 Compare January 27, 2026 18:35
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@vanshika2720 vanshika2720 force-pushed the chore/jquery-security-update branch from 982ef22 to 41ce1d7 Compare January 27, 2026 18:37
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@vanshika2720 vanshika2720 force-pushed the chore/jquery-security-update branch from 41ce1d7 to e5aa195 Compare January 27, 2026 18:48
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@vanshika2720
Copy link
Contributor Author

Hi @walterbender , this is a critical update to resolve security vulnerabilities (GHSA-gxr4-xjj5-5px2, etc.) in older jQuery versions.

Implementation:

Replaced jquery-2.1.4.min.js and jquery-3.2.1.min.js with v3.7.1 in both the main
index.html
and the planet/ feature.
Fixed a pre-existing HTML syntax error in
planet/index.html
(duplicate ) that was preventing the CI formatter from passing.
Verification:

Manually verified that jQuery-dependent features (dialogs, Materialize components) remain functional.
All CI checks (Security Scans and Formatting) are now green.

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

…ty-update

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

@github-actions
Copy link
Contributor

✅ All Jest tests passed! This PR is ready to merge.

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