Bump sanitize-html from 2.17.4 to 2.17.7 in /packages/api - #375
Bump sanitize-html from 2.17.4 to 2.17.7 in /packages/api#375dependabot[bot] wants to merge 1 commit into
Conversation
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.OpenSSF Scorecard
Scanned Files
|
|
@dependabot merge |
| "image-size": "2.0.2", | ||
| "prom-client": "15.1.3", | ||
| "sanitize-html": "2.17.4", | ||
| "sanitize-html": "2.17.7", |
There was a problem hiding this comment.
Lockfile omits the version bump
Medium Severity
packages/api/package.json now requests sanitize-html 2.17.7, but pnpm-lock.yaml still locks the specifier and resolution at 2.17.4. Installs that honor the lockfile never receive the bump, and a later install rewrites the lockfile outside this change.
Reviewed by Cursor Bugbot for commit df770a4. Configure here.
Bumps [sanitize-html](https://github.com/apostrophecms/apostrophe/tree/HEAD/packages/sanitize-html) from 2.17.4 to 2.17.7. - [Changelog](https://github.com/apostrophecms/apostrophe/blob/main/packages/sanitize-html/CHANGELOG.md) - [Commits](https://github.com/apostrophecms/apostrophe/commits/sanitize-html@2.17.7/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>
df770a4 to
4fdfb5c
Compare
|
@dependabot merge |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
There are 2 total unresolved issues (including 1 from previous review).
❌ 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 4fdfb5c. Configure here.
| "image-size": "2.0.2", | ||
| "prom-client": "15.1.3", | ||
| "sanitize-html": "2.17.4", | ||
| "sanitize-html": "2.17.7", |
There was a problem hiding this comment.
Bump requires unsupported Node runtime
Medium Severity
sanitize-html 2.17.7 requires Node >=22.12.0 because htmlparser2 12 is ESM-only. This repo allows Node 20.16 and App Hosting runs nodejs20, so install or require of the package can fail on supported and production runtimes.
Reviewed by Cursor Bugbot for commit 4fdfb5c. Configure here.


Bumps sanitize-html from 2.17.4 to 2.17.7.
Changelog
Sourced from sanitize-html's changelog.
Commits
72f4531Latest reconciliation q2 m3 2026 (#5555)207846aready for 4.32.0 release (#5513)f820033Latest reconciliation q2 m2 (#5511)2427508release and changelog edits (#5465)5a88e96Latest security q2 (#5464)958d162merge main to latest (#5460)Note
Low Risk
Single dependency version bump with no code changes; main caveat is sanitize-html 2.17.6+ expects Node ≥22.12.0 via upgraded
htmlparser2, so verify the API runtime meets that.Overview
Updates the
sanitize-htmldependency in@query/apifrom 2.17.4 to 2.17.7 (lockfile unchanged in this diff).This pulls in upstream XSS and allowlist-bypass fixes (SVG animation attributes,
textarea/xmpinside SVG/MathML, trailing-solidus close tags, and additional unsafe URL attribute handling). Most issues apply only when sanitization is configured with non-defaultallowedTags; default behavior was largely unaffected.No application source changes—only the version pin in
packages/api/package.json.Reviewed by Cursor Bugbot for commit 4fdfb5c. Bugbot is set up for automated code reviews on this repo. Configure here.