إرسال #884184: Node.js @alifd/next 1.27.34 Prototype Pollutionالمعلومات

عنوانNode.js @alifd/next 1.27.34 Prototype Pollution
الوصفA prototype pollution vulnerability exists in @alifd/next 1.27.34. The affected package exposes locale and configuration merging logic through ConfigProvider. ConfigProvider.getContextProps(props, displayName) accepts locale/config input and calls an internal deepMerge helper with user-controlled data. The helper recursively merges object properties without rejecting dangerous keys such as proto, constructor, or prototype. When a crafted locale/config object contains an own proto property, the merge operation can resolve target["proto"] to Object.prototype and write attacker-controlled properties globally. This pollutes Object.prototype and may cause later plain objects to inherit unexpected properties. The issue is reachable through public configuration paths including component locale props, ConfigProvider locale context, ConfigProvider.setLocale(), ConfigProvider.initLocales(), and static component APIs that call ConfigProvider.getContextProps. Affected version: @alifd/next 1.27.34 Impact: Prototype pollution through public UI configuration / locale merge APIs. Exploitability depends on applications loading untrusted or partially trusted locale, tenant branding, remote UI config, or component configuration into Fusion Next. Recommended fix: Reject __proto__, constructor, and prototype keys before reading or writing dynamic merge keys. Use own-property checks and avoid recursively merging into inherited prototype objects.
المصدر⚠️ https://github.com/alibaba-fusion/next/issues/5101
المستخدم
 wjm3 (UID 99672)
ارسال09/07/2026 02:58 PM (2 أشهر منذ)
الاعتدال23/08/2026 06:04 PM (2 months later)
الحالةتمت الموافقة
إدخال VulDB394564 [alibaba-fusion next حتى 1.27.34 deepMerge index.tsx ConfigProvider.getContextProps locale تنفيذ التعليمات البرمجية عن بُعد]
النقاط20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!