@angular-devkit/build-angular dependency [email protected] uses [email protected] which has npm vulnerability 1693
└─┬ @angular-devkit/[email protected] ├─┬ [email protected] │ └── [email protected] deduped ├── [email protected] └─┬ [email protected] └── [email protected]
https://www.npmjs.com/advisories/1693
Closed via https://github.com/angular/angular-cli/pull/20737
Does this solve the problem in older Angular versions? V9 also has the same problem.
Does this solve the problem in older Angular versions? V9 also has the same problem.
This fix cannot be back-ported to version 10 and 9. These versions still depend on postcss 7. Changing that would be a major change.
@alan-agius4 the fix didn't solve the problem as [email protected] uses [email protected] which still has the vulnerability. The problem is resolved in versions >8.2.10.
Should this not be reopened?
This fix cannot be back-ported to version 10 and 9. These versions still depend on postcss 7. Changing that would be a major change.
That said, the vulnerability cannot be exploited when using the Angular CLI, as we don't expect the Angular CLI to be running on production servers and arbitrary stylesheets are compiled on the fly
See info: https://github.com/postcss/postcss/commit/8682b1e4e328432ba692bed52326e84439cec9e4#commitcomment-49809613
I was referring to it still being present on v11 as commented on by @dominikfoldi. We've not yet moved to Angular 12 and the issue still persists via resolve-url-loader.
This has already been addressed in v11.
https://unpkg.com/browse/@angular-devkit/[email protected]/package.json#L58
That uses [email protected] which is still using [email protected] https://github.com/bholloway/resolve-url-loader/blob/657a637583b02cb159000084d01eda6015408dd3/packages/resolve-url-loader/package.json#L41. Am I misunderstanding something? Is the expectation that this issue is now with resolve-url-loader and should be resolved there instead?

That uses
[email protected]which is still using[email protected]https://github.com/bholloway/resolve-url-loader/blob/657a637583b02cb159000084d01eda6015408dd3/packages/resolve-url-loader/package.json#L41. Am I misunderstanding something? Is the expectation that this issue is now withresolve-url-loaderand should be resolved there instead?
You are correct.
I was under the impression that resolve-url-loader@4 was updated to use postcss 8, but it appears not to be the case.
Just to agree with your point also though, this is not something I would expect to be present in production. And is more an annoyance for clogging up our CI pipeline logs.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.