Home / udecode / plate / CVE-2024-47061
CVE-2024-47061: is it exploited, and which versions of udecode plate are affected and fixed?
CVE-2024-47061 is a cross-site scripting (XSS) vulnerability in udecode plate. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: @udecode/plate-core from 37.0.0 before 38.0.6, @udecode/plate-core from 22.0.0 before 36.5.9 and @udecode/plate-core before 21.5.1 (GitHub advisory GHSA-73rg-f94j-xvhx). Fixed in 38.0.6, 36.5.9 and 21.5.1 (GitHub advisory GHSA-73rg-f94j-xvhx). Severity: High (8.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:26 UTC.
What is CVE-2024-47061?
Arbitrary DOM attributes in element.attributes and leaf.attributes in Platejs
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.
From the CVE record by GitHub_M, last updated September 20, 2024, 19:16 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| udecode | plate | >= 37.0.0, < 38.0.6 >= 22.0.0, < 36.5.9 < 21.5.1 |
As the CVE record by GitHub_M states it, last updated September 20, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @udecode/plate-core | >= 37.0.0, < 38.0.6 | 38.0.6 | GHSA-73rg-f94j-xvhx |
| npm | @udecode/plate-core | >= 22.0.0, < 36.5.9 | 36.5.9 | GHSA-73rg-f94j-xvhx |
| npm | @udecode/plate-core | < 21.5.1 | 21.5.1 | GHSA-73rg-f94j-xvhx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated September 20, 2024. Summary: Plate allows arbitrary DOM attributes in element.attributes and leaf.attributes.
How severe is CVE-2024-47061?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-47061 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, September 20, 2024)
- EPSS
- 0.52% probability of exploitation activity in the next 30 days, percentile 45.4 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/udecode/plate/security/advisories/GHSA-73rg-f94j-xvhx x_refsource_CONFIRM
- https://www.npmjs.com/package/patch-package x_refsource_MISC
- https://yarnpkg.com/cli/patch x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- September 17, 2024
- Published
- September 20, 2024, 19:04 UTC
- CVE record updated
- September 20, 2024, 19:16 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 07:56 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:26 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect plate?
- Sep 16, 2026CVE-2026-88976 udecode plate: cross-site scripting (XSS)
- Aug 20, 2026CVE-2026-65842 udecode plate: server-side request forgery (SSRF)
- Jul 8, 2026CVE-2026-55596 udecode plate: cross-site scripting (XSS)
- Jul 15, 2024CVE-2024-40631 udecode plate: cross-site scripting (XSS)
- Jun 9, 2023CVE-2023-34245 udecode plate: cross-site scripting (XSS)
Questions about CVE-2024-47061
Is CVE-2024-47061 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.52% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of udecode plate are affected by CVE-2024-47061?
@udecode/plate-core from 37.0.0 before 38.0.6, @udecode/plate-core from 22.0.0 before 36.5.9 and @udecode/plate-core before 21.5.1, per the GitHub advisory GHSA-73rg-f94j-xvhx. The tables above give every range the sources list.
Which version fixes CVE-2024-47061?
38.0.6, 36.5.9 and 21.5.1, per the GitHub advisory GHSA-73rg-f94j-xvhx. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-47061?
High (8.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-47061?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.