-
-
Notifications
You must be signed in to change notification settings - Fork 200
Closed
Milestone
Description
Hello,
We have the last webpack-encore version installed 4.6.1 and since today we are facing a problem with a package dependency of this.
The package is vue-template-compiler and the message after executing npm audit is:
# npm audit report
vue-template-compiler >=2.0.0
Severity: moderate
vue-template-compiler vulnerable to client-side Cross-Site Scripting (XSS) - https://github.com/advisories/GHSA-g3ch-rx76-35fx
fix available via `npm audit fix --force`
Will install @symfony/[email protected], which is a breaking change
node_modules/vue-template-compiler
@symfony/webpack-encore >=4.0.0
Depends on vulnerable versions of vue-template-compiler
node_modules/@symfony/webpack-encore
2 moderate severity vulnerabilities
The solution according to npm is to downgrade the encore package but it doesn't seem a good solution to me.
Our encore configuration is:
// Enables VUE
.enableVueLoader(
() => {},
{
runtimeCompilerBuild: false,
version: 3,
}
)
The vulnerability is supposed to affect vue2 and not vue3 and we are using vue3 as shown in the config above.
What can we do here? Is there any way to skip the usage of this package?
Metadata
Metadata
Assignees
Labels
No labels