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

fix(deps): update dependency sanitize-html to v2.12.1 [security] - autoclosed #1178

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Mar 1, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sanitize-html 2.8.1 -> 2.12.1 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2024-21501

Versions of the package sanitize-html before 2.12.1 are vulnerable to Information Exposure when used on the backend and with the style attribute allowed, allowing enumeration of files in the system (including project dependencies). An attacker could exploit this vulnerability to gather details about the file system structure and dependencies of the targeted server.


Release Notes

apostrophecms/sanitize-html (sanitize-html)

v2.12.1

Compare Source

  • Do not parse sourcemaps in post-css. This fixes a vulnerability in which information about the existence or non-existence of files on a server could be disclosed via properly crafted HTML input when the style attribute is allowed by the configuration. Thanks to the Snyk Security team for the disclosure and to Dylan Armstrong for the fix.

v2.12.0

Compare Source

  • Introduced the allowedEmptyAttributes option, enabling explicit specification of empty string values for select attributes, with the default attribute set to alt. Thanks to Na for the contribution.

  • Clarified the use of SVGs with a new test and changes to documentation. Thanks to Gauav Kumar for the contribution.

  • Do not process source maps when processing style tags with PostCSS.

v2.11.0

Compare Source

  • Fix to allow false in allowedClasses attributes. Thanks to Kevin Jiang for this fix!
  • Upgrade mocha version
  • Apply small linter fixes in tests
  • Add .idea temp files to .gitignore
  • Thanks to Vitalii Shpital for the updates!
  • Show parseStyleAttributes warning in browser only. Thanks to mog422 for this update!
  • Remove empty non-boolean attributes via an exhaustive, configurable list of known non-boolean attributes. Thanks to Dylan Armstrong for this update!

v2.10.0

Compare Source

  • Fix auto-adding escaped closing tags. In other words, do not add implied closing tags to disallowed tags when disallowedTagMode is set to any variant of escape -- just escape the disallowed tags that are present. This fixes issue #​464. Thanks to Daniel Liebner
  • Add tagAllowed() helper function which takes a tag name and checks it against options.allowedTags and returns true if the tag is allowed and false if it is not.

v2.9.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 is behind base branch, 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 has been generated by Mend Renovate. View repository job log here.

Copy link

codecov bot commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.38%. Comparing base (a29388e) to head (7e63539).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1178   +/-   ##
=======================================
  Coverage   85.38%   85.38%           
=======================================
  Files         541      541           
  Lines       11933    11933           
  Branches     2550     2550           
=======================================
  Hits        10189    10189           
  Misses       1685     1685           
  Partials       59       59           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 5 times, most recently from ced8b11 to 750d93f Compare March 14, 2024 16:57
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 3 times, most recently from 16559e4 to 94ea066 Compare March 20, 2024 20:08
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 5 times, most recently from 4f1f148 to 45767f5 Compare March 27, 2024 11:16
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 2 times, most recently from 930d297 to 37daf8e Compare April 3, 2024 14:28
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 4 times, most recently from 6673806 to fc8e690 Compare April 15, 2024 16:37
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 2 times, most recently from f6daf60 to 539201f Compare April 19, 2024 09:38
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 7 times, most recently from fc3475d to 9917523 Compare May 3, 2024 19:10
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch from 9917523 to 190f866 Compare May 7, 2024 07:21
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 12 times, most recently from c3413ee to 15a9a96 Compare May 28, 2024 17:46
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 10 times, most recently from 8a04b49 to cb587dd Compare June 6, 2024 18:45
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch 2 times, most recently from 005e2eb to 6ff2e32 Compare June 12, 2024 16:11
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch from 6ff2e32 to 4113323 Compare June 18, 2024 11:43
@renovate renovate bot force-pushed the renovate/npm-sanitize-html-vulnerability branch from 4113323 to 7e63539 Compare June 21, 2024 12:12
@renovate renovate bot changed the title fix(deps): update dependency sanitize-html to v2.12.1 [security] fix(deps): update dependency sanitize-html to v2.12.1 [security] - autoclosed Jun 24, 2024
@renovate renovate bot closed this Jun 24, 2024
@renovate renovate bot deleted the renovate/npm-sanitize-html-vulnerability branch June 24, 2024 14:01
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