jquery.terminal_project jquery.terminal web页面中脚本相关html标签转义处理不恰当(基本跨站脚本)

admin 2023-11-30 13:48:06 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 jquery.terminal_project jquery.terminal web页面中脚本相关html标签转义处理不恰当(基本跨站脚本)

CVE编号

CVE-2021-43862

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-12-30
漏洞描述
jQuery Terminal Emulator is a plugin for creating command line interpreters in your applications. Versions prior to 2.31.1 contain a low impact and limited cross-site scripting (XSS) vulnerability. The code for XSS payload is always visible, but an attacker can use other techniques to hide the code the victim sees. If the application uses the `execHash` option and executes code from URL, the attacker can use this URL to execute their code. The scope is limited because the javascript attribute used is added to span tag, so no automatic execution like with `onerror` on images is possible. This issue is fixed in version 2.31.1. As a workaround, the user can use formatting that wrap whole user input and its no op. The code for this workaround is available in the GitHub Security Advisory. The fix will only work when user of the library is not using different formatters (e.g. to highlight code in different way).
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/jcubic/jquery.terminal/commit/77eb044d0896e990d48a9157f0bc...
https://github.com/jcubic/jquery.terminal/issues/727
https://github.com/jcubic/jquery.terminal/releases/tag/2.31.1
https://github.com/jcubic/jquery.terminal/security/advisories/GHSA-x9r5-jxvq-4387
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 jquery.terminal_project jquery.terminal * Up to (excluding) 2.31.1
阿里云评分 4.9
  • 攻击路径 本地
  • 攻击复杂度 困难
  • 权限要求 管控权限
  • 影响范围 有限影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-79 在Web页面生成时对输入的转义处理不恰当(跨站脚本)
CWE-80 Web页面中脚本相关HTML标签转义处理不恰当(基本跨站脚本)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0