Arama; açıklama metninde, ürün ve üretici adlarında ve açık türlerinde (Türkçe ya da İngilizce, eksik yazımla da) yapılır.

CVE-2022-36010
react editable json tree project react editable json tree

Puan9.8 Kritik
CVSS 3.1
İstismar olasılığı (EPSS)1.4%
önümüzdeki 30 gün içinde
KategoriUzaktan kod çalıştırma ve enjeksiyon
Yayımlanma15 Ağustos 2022
Son güncelleme: 17 Haziran 2026

Kısaca

Bu açık internet üzerinden, uzaktan, oturum açmadan, kullanıcının bir şey yapmasına gerek kalmadan istismar edilebilir.

Başarılı bir saldırıda ciddi etki: gizli bilgilerin okunması, verilerin değiştirilmesi, sistemin çökertilmesi ya da kullanılamaz hale gelmesi.

✨ Yapay zekâ yorumu

Kısa bir reklam izledikten sonra bu açığın sade bir dille yorumu gösterilir. Yapay zekâ hata yapabilir; kararlarınızı resmi kaynaklara göre verin.

Resmi açıklama (İngilizce)

This library allows strings to be parsed as functions and stored as a specialized component, [`JsonFunctionValue`](https://github.com/oxyno-zeta/react-editable-json-tree/blob/09a0ca97835b0834ad054563e2fddc6f22bc5d8c/src/components/JsonFunctionValue.js). To do this, Javascript's [`eval`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/eval) function is used to execute strings that begin with "function" as Javascript. This unfortunately could allow arbitrary code to be executed if it exists as a value within the JSON structure being displayed. Given that this component may often be used to display data from arbitrary, untrusted sources, this is extremely dangerous. One important note is that users who have defined a custom [`onSubmitValueParser`](https://github.com/oxyno-zeta/react-editable-json-tree/tree/09a0ca97835b0834ad054563e2fddc6f22bc5d8c#onsubmitvalueparser) callback prop on the [`JsonTree`](https://github.com/oxyno-zeta/react-editable-json-tree/blob/09a0ca97835b0834ad054563e2fddc6f22bc5d8c/src/JsonTree.js) component should be ***unaffected***. This vulnerability exists in the default `onSubmitValueParser` prop which calls [`parse`](https://github.com/oxyno-zeta/react-editable-json-tree/blob/master/src/utils/parse.js#L30). Prop is added to `JsonTree` called `allowFunctionEvaluation`. This prop will be set to `true` in v2.2.2, which allows upgrade without losing backwards-compatibility. In v2.2.2, we switched from using `eval` to using [`Function`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function) to construct anonymous functions. This is better than `eval` for the following reasons: - Arbitrary code should not be able to execute immediately, since the `Function` constructor explicitly *only creates* anonymous functions - Functions are created without local closures, so they only have access to the global scope If you use: - **Version `<2.2.2`**, you must upgrade as soon as possible. - **Version `^2.2.2`**, you must explicitly set `JsonTree`'s `allowFunctionEvaluation` prop to `false` to fully mitigate this vulnerability. - **Version `>=3.0.0`**, `allowFunctionEvaluation` is already set to `false` by default, so no further steps are necessary.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Açık türü: CWE-95

Etkilenen ürünler

ÜreticiÜrünSürümler
react editable json tree projectreact editable json tree<2.2.2

Kaynaklar

Aynı kategoriden son açıklar

  • CVE-2026-138428 Düşük 2
    A security flaw has been discovered in SourceCodester Real Estate Property Listing App 1.0. This issue affects some unknown processing of the file /index.php. Performing a manipulation of the argument property['title']…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-56481 Düşük 3.5
    HCL Telco Observability is affected by an Improper Input Validation vulnerability in its UI and API, which could allow a remote attacker to submit crafted field values, enabling the injection of malicious input, query…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138423 Düşük 2
    A flaw has been found in youseries UReport up to 2.2.9. Affected is the function convertJson of the file ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java of the component Html…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138422 Düşük 2
    A vulnerability was detected in youseries UReport up to 2.2.9. This impacts an unknown function of the file html-preview.html of the component HTML Preview. Performing a manipulation of the argument _u results in HTML…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138421 Düşük 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026
  • CVE-2026-138420 Düşük 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Uzaktan kod çalıştırma ve enjeksiyon · 30 Kasım 2026