Vulnerability library
Security checkSeptember 20, 2024

Plate allows arbitrary DOM attributes in element.attributes and leaf.attributes

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Note: The attributes prop that is typically rendered alongside nodeProps is unrelated.

Recommendation

Update the @udecode/plate-core package to the latest compatible version. Followings are version details:

  • Affected version(s): **< 21.5.1 >= 22.0.0, < 36.5.9 >= 37.0.0, < 38.0.6**
  • Patched version(s): **21.5.1 36.5.9 38.0.6**

References

Could your website be exposed too?

SmartScanner can check your website for Plate allows arbitrary DOM attributes in element.attributes and leaf.attributes and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated September 20, 2024