mirror of
https://github.com/fkie-cad/nvd-json-data-feeds.git
synced 2025-05-28 17:21:36 +00:00
68 lines
6.4 KiB
JSON
68 lines
6.4 KiB
JSON
{
|
|
"id": "CVE-2024-47061",
|
|
"sourceIdentifier": "security-advisories@github.com",
|
|
"published": "2024-09-20T19:15:16.550",
|
|
"lastModified": "2024-09-26T13:32:55.343",
|
|
"vulnStatus": "Awaiting Analysis",
|
|
"cveTags": [],
|
|
"descriptions": [
|
|
{
|
|
"lang": "en",
|
|
"value": "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."
|
|
},
|
|
{
|
|
"lang": "es",
|
|
"value": "Plate es un conjunto de herramientas de JavaScript que facilita el desarrollo con Slate, un popular framework de trabajo para crear editores de texto. Una caracter\u00edstica de larga data de Plate es la capacidad de agregar atributos DOM personalizados a cualquier elemento u hoja utilizando la propiedad `attributes`. Estos atributos se pasan al componente de nodo utilizando la propiedad `nodeProps`. Nos hemos dado cuenta de que esta caracter\u00edstica se puede utilizar con fines maliciosos, incluido cross-site scripting (XSS) y la exposici\u00f3n de informaci\u00f3n (espec\u00edficamente, las direcciones IP de los usuarios y si han abierto o no un documento malicioso). Tenga en cuenta que el riesgo de exposici\u00f3n de informaci\u00f3n a trav\u00e9s de atributos solo es relevante para aplicaciones en las que las solicitudes web a URL arbitrarias no est\u00e1n permitidas normalmente. Los editores de Plate que permiten a los usuarios incrustar im\u00e1genes desde URL arbitrarias, por ejemplo, ya conllevan el riesgo de filtrar las direcciones IP de los usuarios a terceros. Todos los editores de Plate que utilizan una versi\u00f3n afectada de @udecode/plate-core son vulnerables a estos ataques de exposici\u00f3n de informaci\u00f3n a trav\u00e9s del atributo style y otros atributos que pueden hacer que se env\u00eden solicitudes web. Adem\u00e1s, la vulnerabilidad de un editor de Plate a ataques de cross site scripting mediante atributos depende de varios factores. Los atributos DOM que tienen m\u00e1s probabilidades de ser vulnerables son href y src en enlaces e iframes respectivamente. Cualquier componente que extienda {...nodeProps} en un elemento <a rel=\"nofollow\"> o y no anule posteriormente href o src ser\u00e1 vulnerable a XSS. En las versiones parcheadas de Plate, hemos deshabilitado element.attributes y leaf.attributes para la mayor\u00eda de los nombres de atributos de forma predeterminada, con algunas excepciones que incluyen target, alt, width, height, colspan y rowspan en los complementos de enlaces, im\u00e1genes, videos, celdas de tablas y celdas de encabezado de tablas. Si este es un cambio importante para usted, puede volver a habilitar de forma selectiva los atributos para ciertos complementos de la siguiente manera. Investigue y eval\u00fae cuidadosamente las implicaciones de seguridad de cualquier atributo que permita, ya que incluso los atributos aparentemente inocuos, como style, pueden usarse de forma maliciosa. Si no puede actualizar a ninguna de las versiones parcheadas, debe usar una herramienta como patch-package o yarn patch para eliminar la l\u00f3gica de @udecode/plate-core que agrega atributos a nodeProps.</a>"
|
|
}
|
|
],
|
|
"metrics": {
|
|
"cvssMetricV31": [
|
|
{
|
|
"source": "security-advisories@github.com",
|
|
"type": "Secondary",
|
|
"cvssData": {
|
|
"version": "3.1",
|
|
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L",
|
|
"attackVector": "NETWORK",
|
|
"attackComplexity": "LOW",
|
|
"privilegesRequired": "LOW",
|
|
"userInteraction": "NONE",
|
|
"scope": "UNCHANGED",
|
|
"confidentialityImpact": "HIGH",
|
|
"integrityImpact": "HIGH",
|
|
"availabilityImpact": "LOW",
|
|
"baseScore": 8.3,
|
|
"baseSeverity": "HIGH"
|
|
},
|
|
"exploitabilityScore": 2.8,
|
|
"impactScore": 5.5
|
|
}
|
|
]
|
|
},
|
|
"weaknesses": [
|
|
{
|
|
"source": "security-advisories@github.com",
|
|
"type": "Primary",
|
|
"description": [
|
|
{
|
|
"lang": "en",
|
|
"value": "CWE-79"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"references": [
|
|
{
|
|
"url": "https://github.com/udecode/plate/security/advisories/GHSA-73rg-f94j-xvhx",
|
|
"source": "security-advisories@github.com"
|
|
},
|
|
{
|
|
"url": "https://www.npmjs.com/package/patch-package",
|
|
"source": "security-advisories@github.com"
|
|
},
|
|
{
|
|
"url": "https://yarnpkg.com/cli/patch",
|
|
"source": "security-advisories@github.com"
|
|
}
|
|
]
|
|
} |