chore(deps): bump dompurify and jspdf in /frontend
Type: Pull Request
State: Closed
Association: Unknown
Comments: 1
(2 months ago)
(about 2 months ago)
(about 2 months ago)
dependencies javascript
mjabascal10
Bumps dompurify to 3.3.3 and updates ancestor dependency jspdf. These dependencies need to be updated together.
Updates dompurify from 2.2.7 to 3.3.3
Release notes
Sourced from dompurify's releases.
DOMPurify 3.3.3
- Fixed an engine requirement for Node 20 which caused hiccups, thanks
@RotzbuaDOMPurify 3.3.2
- Fixed a possible bypass caused by jsdom's faulty raw-text tag parsing, thanks multiple reporters
- Fixed a prototype pollution issue when working with custom elements, thanks
@christos-eth- Fixed a lenient config parsing in
_isValidAttribute, thanks@christos-eth- Bumped and removed several dependencies, thanks
@Rotzbua- Fixed the test suite after bumping dependencies, thanks
@RotzbuaDOMPurify 3.3.1
- Updated
ADD_FORBID_CONTENTSsetting to extend default list, thanks@MariusRumpf- Updated the ESM import syntax to be more correct, thanks
@binhpvDOMPurify 3.3.0
- Added the SVG
mask-typeattribute to default allow-list, thanks@prasadrajandran- Added support for
ADD_ATTRandADD_TAGSto accept functions, thanks@nelstrom- Fixed an issue with the
slotelement being in both SVG and HTML allow-list, thanks@Wim-ValgaerenDOMPurify 3.2.7
- Added new attributes and elements to default allow-list, thanks
@elrion018- Added
tagNameparameter to custom elementattributeNameCheck, thanks@nelstrom- Added better check for animated
hrefattributes, thanks@llamakko- Updated and improved the bundled types, thanks
@ssi02014- Updated several tests to better align with new browser encoding behaviors
- Improved the handling of potentially risky content inside CDATA elements, thanks
@securityMB&@terjanq- Improved the regular expression for raw-text elements to cover textareas, thanks
@securityMB&@terjanqDOMPurify 3.2.6
- Fixed several typos and removed clutter from our documentation, thanks
@Rotzbua- Added
matrix:as an allowed URI scheme, thanks@kleinesfilmroellchen- Added better config hardening against prototype pollution, thanks
@EffectRenan- Added better handling of attribute removal, thanks
@michalnieruchalski-tiugo- Added better configuration for aggressive mXSS scrubbing behavior, thanks
@BryanValverdeU- Removed the script that caused the fake entry CVE-2025-48050
DOMPurify 3.2.5
- Added a check to the mXSS detection regex to be more strict, thanks
@masatokinugawa- Added ESM type imports in source, removes patch function, thanks
@donmccurdy- Added script to verify various TypeScript configurations, thanks
@reduckted- Added more modern browsers to the Karma launchers list
- Added Node 23.x to tested runtimes, removed Node 17.x
- Fixed the generation of source maps, thanks
@reduckted- Fixed an unexpected behavior with
ALLOWED_URI_REGEXPusing the 'g' flag, thanks@hhk-png- Fixed a few typos in the README file
DOMPurify 3.2.4
- Fixed a conditional and config dependent mXSS-style bypass reported by
@nsysean- Added a new feature to allow specific hook removal, thanks
@davecardwell
... (truncated)
Commits
8bcbf73chore: Preparing 3.3.3 release5faddd6fix: engine requirement (#1210)0f91e3aUpdate README.mdd5ff1a8Merge branch 'main' of github.com:cure53/DOMPurifyc3efd48fix: moved back from jsdom 28 to jsdom 20988b888fix: moved back from jsdom 28 to jsdom 202726c74chore: Preparing 3.3.2 release6202c7ebuild(deps): bump@tootallnate/onceand jsdom (#1204)302b51dfix: Expanded the regex ever so slightly to also cover scriptcd85175Merge branch 'main' of github.com:cure53/DOMPurify- Additional commits viewable in compare view
Updates jspdf from 2.3.1 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
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.
Package Dependencies
Security Advisories
jsPDF has Local File Inclusion/Path Traversal vulnerability
jsPDF has PDF Injection in AcroFormChoiceField that allows Arbitrary JavaScript Execution
jsPDF Vulnerable to Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder
jsPDF Vulnerable to Stored XMP Metadata Injection (Spoofing & Integrity Violation)
jsPDF has Shared State Race Condition in addJS Plugin
jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions
jsPDF has a PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton.createOption and "AS" property)
jsPDF has a PDF Object Injection via Unsanitized Input in addJS Method
jsPDF has HTML Injection in New Window paths
jsPDF has a PDF Object Injection via FreeText color
Technical Details
| ID: | 15336762 |
| UUID: | 4157496525 |
| Node ID: | PR_kwDOKVqxZ87OOHkR |
| Host: | GitHub |
| Repository: | utmstack/UTMStack |