Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cross-Site Scripting in wangeditor #6

Open
fenglg888 opened this issue Aug 21, 2023 · 0 comments
Open

Cross-Site Scripting in wangeditor #6

fenglg888 opened this issue Aug 21, 2023 · 0 comments

Comments

@fenglg888
Copy link

编译时,报错如下
wangeditor *
Severity: high
Cross-Site Scripting in wangeditor - https://github.com/advisories/GHSA-g7mw-5cq6-fv82
No fix available
node_modules/wangeditor

1 high severity vulnerability

Some issues need review, and may require choosing
a different dependency.

运行时报错,如下
node:events:491
throw er; // Unhandled 'error' event
^

Error: spawn xdg-open ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
at onErrorNT (node:internal/child_process:485:16)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn xdg-open',
path: 'xdg-open',
spawnargs: [ 'http://localhost:8888/' ]
}

依赖也都下载下来了,部分依赖如下:
[root@dev node_modules]# npm list
[email protected] /opt/modules/sagooiot-ui
├── @antv/[email protected]
├── @element-plus/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @types/[email protected]
├── @typescript-eslint/[email protected]
├── @typescript-eslint/[email protected]
├── @vitejs/[email protected]
├── @vue/[email protected]
├── @wangeditor/[email protected]
├── @wangeditor/[email protected]
├── [email protected]
├── [email protected]

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

No branches or pull requests

1 participant