Bump sanitize-html from 2.17.5 to 2.17.7 - #376
Conversation
Bumps [sanitize-html](https://github.com/apostrophecms/apostrophe/tree/HEAD/packages/sanitize-html) from 2.17.5 to 2.17.7. - [Changelog](https://github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md) - [Commits](https://github.com/apostrophecms/apostrophe/commits/HEAD/packages/sanitize-html) --- updated-dependencies: - dependency-name: sanitize-html dependency-version: 2.17.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Dependency ReviewThe following issues were found:
OpenSSF ScorecardScorecard details
Scanned Files
|
|
@dependabot merge |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Want higher recall? High effort reviews run extra passes and find more bugs. A team admin can switch effort levels in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 3fbc24d. Configure here.
| "react-dom": "19.0.0", | ||
| "react-scroll": "1.9.3", | ||
| "sanitize-html": "^2.17.5", | ||
| "sanitize-html": "^2.17.7", |
There was a problem hiding this comment.
Upgrade requires unsupported Node version
Medium Severity
sanitize-html 2.17.7 now requires Node >=22.12.0 so it can require() the ESM-only htmlparser2 12.x. This repo still supports and deploys Node 20 via engines, .nvmrc, App Hosting nodejs20, and several CI jobs, so install or load of this package on the current runtime fails.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 3fbc24d. Configure here.


Bumps sanitize-html from 2.17.5 to 2.17.7.
Changelog
Sourced from sanitize-html's changelog.
Commits
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Medium Risk
Security-relevant HTML sanitization behavior changes and a Node
>=22.12.0requirement forsanitize-html2.17.7 may affect deploy/CI on Node 20; Playwright removal from the lockfile only matters if something still expected it as a dev dependency.Overview
Upgrades
sanitize-htmlfrom 2.17.5 to 2.17.7 insites/mainweb/package.json, with a matchingpnpm-lock.yamlrefresh.The new release pulls in security fixes (SVG animation / raw-text and
textarea/xmpbypasses) and upgrades the HTML parser stack (htmlparser212.x and related DOM packages).sanitize-html2.17.7 now declares Node>=22.12.0, which is stricter than the repo root engine (>=20.16.0).The lockfile also drops
@playwright/test/playwrightfrom the install graph (includingsites/hacklytics2027and Next’s resolved optional peers) and updates assorted transitives (e.g.postcss,dayjs,is-plain-object) tied to the bump and lock regeneration.Reviewed by Cursor Bugbot for commit 3fbc24d. Bugbot is set up for automated code reviews on this repo. Configure here.