code16 Sharp: Arbitrary Class Instantiation via an API parameter
- State
- Published
- Severity
- 5.4 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 19, 2026
- Reserved
- Sep 2, 2026
Description
code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Prior to 9.23.0, an authenticated attacker can submit an arbitrary PHP class name through the embed_key parameter to multiple embed API endpoints. The application passes the selected class to the Laravel service container, which invokes the class's __construct() method and recursively instantiates constructor dependencies, potentially causing unauthorized integrity or availability effects. The attacker cannot supply constructor parameter values or invoke an arbitrary method. This issue is fixed in version 9.23.0.
| Product | Versions |
|---|---|
| sharp code16 | < 9.23.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 5.4 Medium | GitHub_M |
Weaknesses
- CWE-470 Use of Externally-Controlled Input to Select Classes or Code
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.