Skip to content

fix: upgrade jQuery and restore elFinder compatibility - #2021

Open
lettimepassby wants to merge 1 commit into
jumpserver:devfrom
jumpserver-east:pr@dev@fix_upgrade_jQuery_and_restore_elFinder_compatibility
Open

fix: upgrade jQuery and restore elFinder compatibility#2021
lettimepassby wants to merge 1 commit into
jumpserver:devfrom
jumpserver-east:pr@dev@fix_upgrade_jQuery_and_restore_elFinder_compatibility

Conversation

@lettimepassby

Copy link
Copy Markdown
Contributor

将内置 jQuery 从 3.3.1 升级至 3.6.1,修复 CVE-2020-11022CVE-2020-11023 相关 XSS 风险。
引入 jQuery Migrate 3.4.0,兼容项目中的旧版 jQuery 行为。
按照 jQuery、jQuery Migrate、jQuery UI、elFinder 的顺序加载脚本。
将 elFinder 中受影响的非空 HTML 自闭合标签改为显式闭合标签。
不恢复存在安全风险的全局 $.htmlPrefilter 旧行为。

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
C Security Rating on New Code (required ≥ A)
D Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@Nickyang00
Nickyang00 requested a review from LeeEirc July 28, 2026 03:59
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