-
Notifications
You must be signed in to change notification settings - Fork 0
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
[Snyk] Upgrade dompurify from 3.0.5 to 3.2.2 #27
base: develop
Are you sure you want to change the base?
Conversation
Snyk has created this PR to upgrade dompurify from 3.0.5 to 3.2.2. See this package in npm: dompurify See this project in Snyk: https://app.snyk.io/org/sammytezzy/project/54d742ef-f52e-4145-a5b1-9d7e5208377f?utm_source=github&utm_medium=referral&page=upgrade-pr
Run & review this pull request in StackBlitz Codeflow. |
Reviewer's Guide by SourceryThis pull request upgrades the Sequence diagram showing DOMPurify sanitization process with security fixessequenceDiagram
participant Client
participant DOMPurify
participant DOM
Client->>DOMPurify: sanitize(untrustedHTML)
Note over DOMPurify: v3.2.2 Security Improvements:
Note over DOMPurify: - Prototype Pollution Fix
Note over DOMPurify: - Template Injection Protection
Note over DOMPurify: - XSS Prevention Enhancement
DOMPurify->>DOM: Create Safe DOM
DOM-->>DOMPurify: Return Sanitized DOM
DOMPurify-->>Client: Return Clean HTML
Class diagram showing DOMPurify package version upgradeclassDiagram
class DOMPurify {
<<package>>
-version: string
+sanitize(dirty: string): string
+addHook()
+removeHook()
+clearConfig()
}
note for DOMPurify "Upgraded from v3.0.5 to v3.2.2
- Fixed Prototype Pollution
- Enhanced Template Security
- Improved XSS Protection"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have skipped reviewing this pull request. Here's why:
- It seems to have been created by a bot ('[Snyk]' found in title). We assume it knows what it's doing!
- We don't review packaging changes - Let us know if you'd like us to change this.
Snyk has created this PR to upgrade dompurify from 3.0.5 to 3.2.2.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 17 versions ahead of your current version.
The recommended version was released 23 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-DOMPURIFY-7984421
SNYK-JS-DOMPURIFY-6474511
SNYK-JS-DOMPURIFY-8184974
Release notes
Package name: dompurify
foreignObject
element from the list of HTML entry-points, thanks @ masatokinugawabower.js
, thanks @ HakumenNCImportant
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
Summary by Sourcery
Upgrade dompurify from 3.0.5 to 3.2.2.
Bug Fixes: