CVE-2024-47061
JavaScript vulnerability analysis and mitigation

Overview

CVE-2024-47061 affects Plate, a JavaScript toolkit for developing text editors with Slate framework. The vulnerability was discovered and disclosed on September 20, 2024, affecting @udecode/plate-core versions >=37.0.0,<38.0.6, >=22.0.0,<36.5.9, and <21.5.1. The issue stems from a feature allowing custom DOM attributes to be added to any element or leaf using the attributes property (GitHub Advisory).

Technical details

The vulnerability involves the ability to add custom DOM attributes to elements through the attributes property, which are passed to node components using the nodeProps prop. The issue has been assigned a CVSS v3.1 base score of 8.3 (High), with a vector string of CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L. The vulnerability is classified as CWE-79 (Cross-site Scripting) (GitHub Advisory, FortiGuard Labs).

Impact

The vulnerability can be exploited for malicious purposes, including cross-site scripting (XSS) attacks and information exposure. Specifically, it can lead to the exposure of users' IP addresses and reveal whether users have opened malicious documents. The risk is particularly significant for applications where web requests to arbitrary URLs are not ordinarily allowed (GitHub Advisory).

Mitigation and workarounds

Patched versions (38.0.6, 36.5.9, and 21.5.1) have disabled element.attributes and leaf.attributes for most attribute names by default, with exceptions for specific attributes like target, alt, width, height, colspan, and rowspan on certain plugins. For users unable to upgrade, it's recommended to use tools like patch-package or yarn patch to remove the logic from @udecode/plate-core that adds attributes to nodeProps (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-55182CRITICAL10
  • JavaScriptJavaScript
  • react
NoYesDec 03, 2025
CVE-2025-66401CRITICAL9.8
  • JavaScriptJavaScript
  • mcp-watch
NoNoDec 01, 2025
CVE-2025-66412HIGH8.5
  • JavaScriptJavaScript
  • @angular/compiler
NoYesDec 01, 2025
CVE-2025-66415MEDIUM6.9
  • JavaScriptJavaScript
  • @fastify/reply-from
NoYesDec 01, 2025
CVE-2025-66405MEDIUM6.9
  • JavaScriptJavaScript
  • @portkey-ai/gateway
NoYesDec 01, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management