CVE-2023-26920: Medium severity NaturalIntelligence Fast Xml Parser vulnerability

Published Jun 13, 2023
·
Updated

Impact As a part of this vulnerability, user was able to se code using proto as a tag or attribute name.

js const { XMLParser, XMLBuilder, XMLValidator} = require("fast-xml-parser");

let XMLdata = "<proto><polluted>hacked</polluted></proto>"

const parser = new XMLParser(); let jObj = parser.parse(XMLdata);

console.log(jObj.polluted) // should return hacked

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

Other sources

fast-xml-parser before 4.1.2 allows proto for Prototype Pollution.

Affected Software

2 affected componentsFixes available
NaturalIntelligence Fast Xml Parser<4.1.2
npm/fast-xml-parser<4.1.2
4.1.2

Event History

Jun 13, 2023
Advisory Published
12:44 PM
Dec 12, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-26920?

The severity of CVE-2023-26920 is considered high due to its ability to allow code execution via XML parsing.

2

How do I fix CVE-2023-26920?

To fix CVE-2023-26920, upgrade the fast-xml-parser package to version 4.1.2 or later.

3

What type of vulnerability is CVE-2023-26920?

CVE-2023-26920 is an XML external entity injection vulnerability that affects user input processing.

4

Which software versions are affected by CVE-2023-26920?

CVE-2023-26920 affects all versions of the fast-xml-parser package prior to version 4.1.2.

5

What are the potential impacts of CVE-2023-26920?

The potential impacts of CVE-2023-26920 include unauthorized code execution and data manipulation through crafted XML input.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203