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

[BUG] openapi-generator/modules/openapi-generator/src/main/resources/htmlDocs2 /js_jquery.mustache contains vulnerable jQuery version #17928

Open
KiraResari opened this issue Feb 22, 2024 · 0 comments

Comments

@KiraResari
Copy link
Contributor

KiraResari commented Feb 22, 2024

Description

The mustache template https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/htmlDocs2/js_jquery.mustache contains a jQuery Version with known vulnerabilities (v3.1.0). See for example https://security.snyk.io/package/npm/jquery

openapi-generator version

7.3.0

OpenAPI declaration file content or url

not applicable

Generation Details

not applicable

Steps to reproduce
  1. Open https://github.com/OpenAPITools/openapi-generator/blob/master/modules/openapi-generator/src/main/resources/htmlDocs2/js_jquery.mustache
  2. Note that it uses jQuery version 3.1.0
  3. Open a website that documents vulnerabilities of jQuery versions, such as for example https://security.snyk.io/package/npm/jquery
  4. Note that jQuery version contains several known vulnerabilities
Related issues/PRs

#16063
#17930

Suggest a fix

Update this template to use a newer jQuery version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant