code16/sharp: Arbitrary class instantiation through the embed_key API parameter
Impact
An authenticated attacker can instantiate any class in the PHP application by using the embed_key parameter across multiple API endpoints. The instantiation is performed by the Laravel container. As a result, the __construct() method of the class is called and all constructor dependencies are resolved. The attacker cannot specify parameter values and cannot call any arbitrary method.
Patches
The problem has been patched in 9.23.0 and pre-release version 10.0.0-beta.4. An additional check was added to verify that embed_key is a class extending SharpFormEditorEmbed before any instantiation.
Workarounds
No known workarounds.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka Composer | code16/sharp | < 9.23.0, >= 10.0.0-beta.1, < 10.0.0-beta.4 | 9.23.0, 10.0.0-beta.4 |
Odnośniki
- https://github.com/code16/sharp/security/advisories/GHSA-h24v-f482-8cwf
- https://github.com/code16/sharp/pull/750
- https://github.com/code16/sharp/commit/dfafb44b11574e621bf0785f02c32b9866ab9923
- https://github.com/code16/sharp
- https://github.com/code16/sharp/releases/tag/v9.23.0
- https://github.com/code16/sharp/tree/v10.0.0-beta.4
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L- Słabość (CWE)
CWE-470- Platforma
- Composer
- Paczka
code16/sharp- Ujawniono
- 12.11.2026
- Aktualizacja
- 12.11.2026 20:17
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-h24v-f482-8cwf - CC BY 4.0
Historia podatności: code16/sharp
Wszystkie opisane podatności tej paczki (Paczka Composer), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 10
- Pierwsza → ostatnia
- 10.2025 11.2026
- Bez poprawki
- 0
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 5
- Średnia 5
Ujawnienia w latach
- 2025: 2
- 2026: 8
-
code16/sharp: Arbitrary class instantiation through the embed_key API parameter ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.