Skip to content

Consider updating jQuery dependency to 3.4.0 or newer #20001

@joelverhagen

Description

@joelverhagen

My team runs Azure DevOps Component Governance (per internal security requirements) and we received a notice that the following project template is impacted by CVE-2019-11358 affecting jQuery before 3.4.0.

cli/sdk/2.2.100-preview3-009430/Templates/microsoft.dotnet.web.projecttemplates.2.2.2.2.0-preview3-35497.nupkg

I looked inside this template and found jQuery 3.3.1.

I also looked at the latest version of the template and the source code in this repository and see that 3.3.1 is still used: e.g.

We don't specifically use this template but Component Governance picked up on it since we happened to install the CLI at build time inside the directory that it scans.

It's probably worth considering updating the template to jQuery 3.4.0 so consumers of the template don't have to be worried about this CVE.

I see there is another issue of removing jQuery (#8573) but I imagine updating the minor version of jQuery is a cheaper fix for this particular issue.

Metadata

Metadata

Labels

DoneThis issue has been fixedServicing-considerShiproom approval is required for the issuearea-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templatesbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions