Update dependency fast-xml-parser to v4 [SECURITY] #123
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.21.1
->^4.0.0
GitHub Vulnerability Alerts
CVE-2023-26920
Impact
As a part of this vulnerability, user was able to se code using
__proto__
as a tag or attribute name.Patches
The problem has been patched in v4.1.2
Workarounds
User can check for "proto" in the XML string before parsing it to the parser.
References
https://gist.github.com/Sudistark/a5a45bd0804d522a1392cb5023aa7ef7
Release Notes
NaturalIntelligence/fast-xml-parser (fast-xml-parser)
v4.1.2
Compare Source
v4.1.1
Compare Source
v4.1.0
Compare Source
v4.0.15
Compare Source
v4.0.14
Compare Source
v4.0.13
Compare Source
v4.0.12
Compare Source
v4.0.11
Compare Source
v4.0.10
Compare Source
v4.0.9
Compare Source
v4.0.8
Compare Source
v4.0.7
Compare Source
v4.0.6
Compare Source
v4.0.5
Compare Source
v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
: v4Compare Source
esm
branch.4.0.0-beta.8 / 2021-12-13
4.0.0-beta.7 / 2021-12-09
4.0.0-beta.6 / 2021-12-05
suppressBooleanAttributes
by XML Builder for attributes with valuetrue
.4.0.0-beta.5 / 2021-12-04
4.0.0-beta.4 / 2021-12-02
4.0.0-beta.3 / 2021-11-30
attrMap
toattibutes
in parser output whenpreserveOrder:true
cdataTagName
tocdataPropName
commentPropName
attrNodeName
toattributesGroupName
attrValueProcessor
toattributeValueProcessor
parseNodeValue
toparseTagValue
ignoreNameSpace
toremoveNSPrefix
numParseOptions
tonumberParseOptions
suppressEmptyNode
isArray
option is added to parse a tag into arraypreserveOrder
option is added to render XML in such a way that the result js Object maintains the order of properties same as in XML.tagValueProcessor
andattributeValueProcessor
are changes with extra input parametersConfiguration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.