CVE-2024-47061
Last modified
CVE-2024-47061 is a high-severity vulnerability rated 8.3/10 on the CVSS scale. Plate is a javascript toolkit that makes it easier for you to develop with Slate, a popular framework for building text editors. One longstanding feature of Plate is the ability to add custom DOM attributes to any element or leaf using the `attributes` property. EPSS estimates a 0.50% chance of exploitation in the next 30 days.
Description
Plate is a javascript toolkit that makes it easier for you to develop with Slate, a popular framework for building text editors. One longstanding feature of Plate is the ability to add custom DOM attributes to any element or leaf using the `attributes` property. These attributes are passed to the node component using the `nodeProps` prop. It has come to our attention that this feature can be used for malicious purposes, including cross-site scripting (XSS) and information exposure (specifically, users' IP addresses and whether or not they have opened a malicious document). Note that the risk of information exposure via attributes is only relevant to applications in which web requests to arbitrary URLs are not ordinarily allowed. Plate editors that allow users to embed images from arbitrary URLs, for example, already carry the risk of leaking users' IP addresses to third parties. All Plate editors using an affected version of @udecode/plate-core are vulnerable to these information exposure attacks via the style attribute and other attributes that can cause web requests to be sent. In addition, whether or not a Plate editor is vulnerable to cross-site scripting attacks using attributes depends on a number of factors. The most likely DOM attributes to be vulnerable are href and src on links and iframes respectively. Any component that spreads {...nodeProps} onto an <a> or <iframe> element and does not later override href or src will be vulnerable to XSS. In patched versions of Plate, we have disabled element.attributes and leaf.attributes for most attribute names by default, with some exceptions including target, alt, width, height, colspan and rowspan on the link, image, video, table cell and table header cell plugins. If this is a breaking change for you, you can selectively re-enable attributes for certain plugins as follows. Please carefully research and assess the security implications of any attribute you allow, as even seemingly innocuous attributes such as style can be used maliciously. If you are unable to upgrade to any of the patched versions, you should use a tool like patch-package or yarn patch to remove the logic from @udecode/plate-core that adds attributes to nodeProps.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-47061?
How severe is CVE-2024-47061?
How do I fix CVE-2024-47061?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-47056SummaryThis advisory addresses a security vulnerability in M…5.1
- CVE-2024-47057SummaryThis advisory addresses a security vulnerability in M…5.3
- CVE-2024-47058With access to edit a Mautic form, the attacker can add Cros…4.8
- CVE-2024-47059When logging in with the correct username and incorrect weak…4.3
- CVE-2024-4706The WordPress + Microsoft Office 365 / Azure AD | LOGIN plug…6.4
- CVE-2024-47060Zitadel is an open source identity management platform. In Z…6.5
- CVE-2024-47062Navidrome is an open source web-based music collection serve…8.8
- CVE-2024-47063Computer Vision Annotation Tool (CVAT) is an interactive vid…6.1
- CVE-2024-47064Computer Vision Annotation Tool (CVAT) is an interactive vid…6.1
- CVE-2024-47065Meshtastic is an open source mesh networking solution. Prior…6.5
- CVE-2024-47066Lobe Chat is an open-source artificial intelligence chat fra…8.8
- CVE-2024-47067AList is a file list program that supports multiple storages…6.1
Are you affected by CVE-2024-47061?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
