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

Update dependency mustache to v2 [SECURITY] #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Aug 6, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mustache 0.8.2 -> 2.2.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2015-8862

Versions of mustache prior to 2.2.1 are affected by a cross-site scripting vulnerability when attributes in mustache templates are not quoted.

Example

Template:
<a href=/>

Input:
{ 'foo' : 'test.com onload=alert(1)'}

Rendered result:
<a href=test.com onload=alert(1)/>

Recommendation

Update to version 2.2.1 or later.
Alternatively, ensure that all attributes in hmustache templates are encapsulated with quotes.


Release Notes

janl/mustache.js (mustache)

v2.2.1

Compare Source

Fixes

v2.2.0

Compare Source

Added
Changed
Fixes
  • Fix README spelling error to "aforementioned", by [@​djchie].
  • Equal error message test in .render() for server and browser, by [@​phillipj].
Dependencies
  • chai -> 3.3.0
  • eslint -> 1.6.0

v2.1.3

Compare Source

Added
  • Throw error when providing .render() with invalid template type, by [@​phillipj].
  • Documents use of string literals containing double quotes, by [@​jfmercer].
Changed
  • Move mustache gif to githubusercontent, by [@​Andersos].
Fixed
  • Update UMD Shim to be resilient to HTMLElement global pollution, by [@​mikesherov].

v2.1.2

Compare Source

Added

v2.1.1

Compare Source

Added
Fixed
  • Bugfix for using values from view's context prototype, by [@​phillipj].
  • Improve test with undefined/null lookup hit using dot notation, by [@​dasilvacontin].
  • Bugfix for null/undefined lookup hit when using dot notation, by [@​phillipj].
  • Remove moot version property from bower.json, by [@​kkirsche].
  • bower.json doesn't require a version bump via hook, by [@​dasilvacontin].

v2.1.0

Compare Source

  • Added license attribute to package.json, by [@​pgilad].
  • Minor changes to make mustache.js compatible with both WSH and ASP, by [@​nagaozen].
  • Improve CLI view parsing error, by [@​phillipj].
  • Bugfix for view context cache, by [@​phillipj].

v2.0.0

Compare Source

v1.2.0

Compare Source

  • Added -v option to CLI, by [@​phillipj].
  • Bugfix for rendering Number when it serves as the Context, by [@​phillipj].
  • Specified files in package.json for a cleaner install, by [@​phillipj].

v1.1.0

Compare Source

v1.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

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

Successfully merging this pull request may close these issues.

0 participants