CVE-2026-92987: roxmltree through 0.21.1 Denial of Service via Quadratic Parsing

Published Sep 17, 2026
·
Updated

roxmltree through 0.21.1 performs quadratic-time attribute and namespace validation during XML parsing without limits on attribute count. Attackers can craft XML documents with tens of thousands of attributes on a single element to consume excessive CPU time and cause denial of service.

Affected Software

1 affected component
npm/roxmltree<=0.21.1

Event History

Sep 17, 2026
CVE Published
via MITRE·02:22 PM
Data Sourced
via MITRE·02:22 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this denial-of-service issue?

Any application using npm/roxmltree through version 0.21.1 to parse XML supplied by an attacker is exposed. The issue is remotely exploitable without authentication or user interaction when the attacker can provide XML to the parser.

2

What does an attacker need to send to trigger the issue?

The attacker needs to provide an XML document containing tens of thousands of attributes on a single element. Attribute and namespace validation can then consume excessive CPU because parsing time grows quadratically.

3

Is there a configuration limit that prevents the issue by default?

No attribute-count limit is described. The affected parser performs validation without limits on attribute count.

4

What can be done if updating is not immediately possible?

Restrict or reject untrusted XML inputs that contain excessive numbers of attributes on a single element before they reach roxmltree. Apply CPU or request-processing time limits to reduce the impact of expensive parsing.

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