fix(deps): update dependency serialize-javascript to v6 [security] #2538
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
3.1.0
->6.0.2
GitHub Vulnerability Alerts
CVE-2024-11831
A flaw was found in npm-serialize-javascript. The vulnerability occurs because the serialize-javascript module does not properly sanitize certain inputs, such as regex or other JavaScript object types, allowing an attacker to inject malicious code. This code could be executed when deserialized by a web browser, causing Cross-site scripting (XSS) attacks. This issue is critical in environments where serialized data is sent to web clients, potentially compromising the security of the website or web application using this package.
Release Notes
yahoo/serialize-javascript (serialize-javascript)
v6.0.2
Compare Source
f27d65d
02499c0
0d88527
e2a3a91
5a1fa64
v6.0.1
Compare Source
What's Changed
New Contributors
Full Changelog: yahoo/serialize-javascript@v6.0.0...v6.0.1
v6.0.0
Compare Source
Changelog
Behavior changes for URL objects
It serializes URL objects as follows since this version. The result of serialization may be changed if you are passing URL object values into the serialize-javascript.
Thank you @rrdelaney for this release.
v5.0.1
Compare Source
Changelog
v5.0.0
Compare Source
Changelog
Behavior changes for sparse arrays
It serializes sparse arrays as follows since this version. The result of serialization may be changed if you are passing sparse arrays values into the serialize-javascript.
Thank you @victorporof for this release.
v4.0.0
Compare Source
Changelog
Behavior changes for BigInt
It serializes
BigInt
values as follows since this version. The result of serialization may be changed if you are passingBigInt
values into the serialize-javascript.v4.x:
v3.x:
Thank you @mum-never-proud for this release.
Configuration
📅 Schedule: Branch creation - "" in timezone US/Eastern, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.