Bump the npm_and_yarn group across 1 directory with 2 updates
Bumps the npm_and_yarn group with 1 update in the / directory: jspdf.
Updates jspdf from 2.5.2 to 4.2.1
Release notes
Sourced from jspdf's releases.
v4.2.1
This release fixes two security issues.
What's Changed
- Fix HTML Injection in output methods vulnerability.
- Fix PDF Object Injection via free text annotation color vulnerability.
Full Changelog: https://github.com/parallax/jsPDF/compare/v4.2.0...v4.2.1
v4.2.0
This release fixes three security issues.
What's Changed
- Fix PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton children) vulnerability.
- Fix Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions vulnerability.
- Fix PDF Object Injection via Unsanitized Input in addJS Method vulnerability.
- Add "default" property to export section in package.json by
@stefan-schweigerin parallax/jsPDF#3953New Contributors
@stefan-schweigermade their first contribution in parallax/jsPDF#3953Full Changelog: https://github.com/parallax/jsPDF/compare/v4.1.0...v4.2.0
v4.1.0
This release fixes several security issues.
What's Changed
- Upgrade optional dompurify dependency to 3.3.1 in parallax/jsPDF#3948
- Fix PDF Injection in AcroForm module allows Arbitrary JavaScript Execution vulnerability
- Fix Stored XMP Metadata Injection (Spoofing & Integrity Violation) vulnerability
- Fix Shared State Race Condition in addJS Method vulnerability
- Fix Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder vulnerability
Full Changelog: https://github.com/parallax/jsPDF/compare/v4.0.0...v4.1.0
v4.0.0
This release fixes a critical path traversal/local file inclusion security vulnerability in the jsPDF Node.js build. File system access is now restricted by default and can be enabled by either using node's
--permissionflag or the newjsPDF.allowFsReadproperty.There are no other breaking changes.
v3.0.4
This release includes a bunch of bugfixes. Thanks to all contributors!
What's Changed
- [Snyk] Upgrade
@babel/runtimefrom 7.28.3 to 7.28.4 by@MrRioin parallax/jsPDF#3895- fix: cell function now properly accepts align parameter by
@vishal-rathod-07in parallax/jsPDF#3896- Remove duplicated function "ga" from WebPDecoder.js by
@jvdpin parallax/jsPDF#3902- Fix font state management issue #3890 by
@srikanth-s2003in parallax/jsPDF#3891- Fix pages property to always return current array reference ( #3898 ) by
@Opineppesin parallax/jsPDF#3899- Fix jsPDF + Vite compatibility issue #3851 by
@tishajain25in parallax/jsPDF#3903
... (truncated)
Commits
4562ce84.2.14155c48Merge commit from fork87a40bbMerge commit from forkb1607a9Bump minimatch from 3.1.2 to 3.1.5 (#3961)42ac890Bump rollup from 2.79.2 to 2.80.0 (#3960)7af912c4.2.056b46d4Merge commit from fork2e5e156Merge commit from fork71ad2dbMerge commit from fork885a777fix: upgrade@babel/runtimefrom 7.28.4 to 7.28.6 (#3954)- Additional commits viewable in compare view
Updates dompurify from 2.5.9 to 3.4.10
Release notes
Sourced from dompurify's releases.
DOMPurify 3.4.10
- Refactored codebase for clarity: extracted the public type declarations into
types.ts- Decomposed the three largest sanitizer functions into focused helpers
- Removed duplicated defaults and dead branches, consolidated
SAFE_FOR_TEMPLATESscrubbing into single shared path- Improved per-node performance by hoisting the mXSS probe regexes and testing
textContentbeforeinnerHTML- Added a deterministic micro-benchmark harness (
npm run bench) with a--comparemode- Reduced CI cost by running the full three-engine browser suite once per PR
- Refreshed the
demos/folder so every demo runs again, and added a SVG-via-<img>demo- Documented the bench and
test:happydomscripts in the README- Completed the Attack Classes & Bypass History wiki page
- Bumped several dependencies where possible
DOMPurify 3.4.9
- Further improved the handling of Trusted Types config options, thanks
@offset- Further improved the handling of
IN_PLACEsanitization, thanks@mozfreddyb- Added more test coverage for
IN_PLACEand Trusted Types related usage- Bumped several dependencies where possible
- Updated README and wiki with more accurate documentation & attack samples
DOMPurify 3.4.8
- Cleaned up the repository root, renamed some and removed unneeded files
- Fixed an issue with handling of Trusted Types policies, thanks
@fulstadev- Fixed the node iterator for better template scrubbing, thanks
@IamLeandrooooo- Included formerly missing LICENSE-MPL in published npm package, thanks
@asamuzaK- Bumped several dependencies where possible
DOMPurify 3.4.7
- Hardened the handling of Shadow Roots when using
IN_PLACE, thanks@GameZoneHacker- Removed a problem leading to permanent hook pollution, thanks
@offset- Refactored the test suite and expanded test coverage significantly
DOMPurify 3.4.6
- Fixed several issues with DOM Clobbering in
IN_PLACEmode, thanks@offset&@Bankde- Hardened the checks for cross-realm
IN_PLACEand Shadow DOM sanitization, thanks@offset&@Bankde- Added more test coverage for
IN_PLACEand general DOM Clobbering attacks- Bumped several dependencies where possible
DOMPurify 3.4.5
- Fixed a bypass caused by the new HTML element
selectedcontentadded in 3.4.4, thanks@KabirAcharyaNote that this is a security release for an issue introduced in 3.4.4 and should be upgraded to immediately.
DOMPurify 3.4.4
- Added the
selectedcontentelement to default allow-list, thanks@lukewarlow- Added the
commandandcommandforattributes to default allowed-list, thanks@lukewarlow- Added better template scrubbing for
IN_PLACEoperations, thanks@DEMON1A- Added stronger checks for cross-realm windows, thanks
@DEMON1A&@fg0x0- Updated demo website and made sure it uses the latest from main
- Updated existing workflows, fuzzer, dependabot, etc., added more tests
- Bumped several dependencies where possible
... (truncated)
Commits
6ee5716release: 3.4.10 (#1478)5210247release: 3.4.9 (#1459)bcdd828release: 3.4.8 (#1439)ca30f07release: 3.4.7 (#1414)bb7739erelease: 3.4.6 (#1394)011b0c7release: 3.4.5 (#1382)5817ad9release: 3.4.4 (#1374)520edb0release: 3.4.3 (#1352)6f67fd3Sync/3.4.2 (#1322)5b0cdbbchore: merge main into 3.x for 3.4.1 release (#1301)- Additional commits viewable in compare view
Install script changes
This version adds prepare script that runs during installation. Review the package contents before updating.
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 <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditions
You can disable automated security fix PRs for this repo from the Security Alerts page.
Summary by cubic
Upgrade jspdf to 4.2.1 and transitive dompurify to 3.4.10 to address multiple upstream security issues and keep PDF generation and HTML sanitization up to date.
-
Dependencies
jspdf: 2.5.2 → 4.2.1 with security fixes; updates optionalcanvgand now optionally usesdompurify@^3; replaces legacyatob/btoawithfast-pngandfflate.dompurify: 2.5.9 → 3.4.10 (transitive) with security hardening and Trusted Types improvements; adds optional@types/trusted-types.
-
Migration
- No changes expected for browser usage.
- If using
jspdfin Node, file system reads are disabled by default in v4; enable via Node--permissionorjsPDF.allowFsReadif needed.