همهٔ گزارش‌ها
زیاد

fast-xml-parser: Repeated DOCTYPE declarations reset entity expansion limits

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
>= 5.9.3, < 5.10.1
نسخهٔ اصلاح‌شده
5.10.1
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده
نسخه‌های متأثر
نامشخص
نسخهٔ اصلاح‌شده
اعلام نشده

بهره‌برداری

CVE-2026-73569

احتمال بهره‌برداری در ۳۰ روز آینده: 0.51%

FIRST EPSS · ۱۴۰۵/۰۹/۰۳

شرح آسیب‌پذیری

Impact

fast-xml-parser processes multiple "DOCTYPE" declarations within a single XML document. Each declaration passes its entities to @nodable/entities through addInputEntities().

addInputEntities() resets the entity expansion counters every time it is called. An attacker can therefore insert additional DOCTYPE declarations to repeatedly reset maxTotalExpansions and maxExpandedLength during one parse operation.

This allows a crafted XML document to exceed the configured entity-expansion limits and can cause excessive CPU use, event-loop blocking, memory exhaustion, and process termination.

Workarounds
  • Manually check if multiple DOCTYPEs are not present in input contents

  • Update to v5.10.1

  • Keep processEntity flag off

پیوندها

گزارش‌دهندگان

  • the-vibe-dev
  • amitguptagwl