code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check
Impact
An authenticated attacker can call the Autocomplete API with the configured endpoint as a substring to request another server-side route.
Patches
The problem has been patched in 9.23.0 and pre-release version 10.0.0-beta.4. The regex verifying the endpoint has been anchored to forbid substring injection.
Workarounds
Use SharpFormAutocompleteRemoteField::setRemoteCallback() instead of SharpFormAutocompleteRemoteField::setRemoteEndpoint().
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | code16/sharp | < 9.23.0, >= 10.0.0-beta.1, < 10.0.0-beta.4 | 9.23.0, 10.0.0-beta.4 |
References
- https://github.com/code16/sharp/security/advisories/GHSA-g6f8-c3x9-jv7f
- https://github.com/code16/sharp/pull/748
- https://github.com/code16/sharp/commit/339f89110f36d06eaad3f2b4bd048fa5424e5558
- 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
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-625, CWE-918- Platform
- Composer
- Package
code16/sharp- Disclosed
- 12.11.2026
- Updated
- 12.11.2026 20:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g6f8-c3x9-jv7f - CC BY 4.0
Vulnerability history: code16/sharp
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 10
- First → latest
- 10.2025 11.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- High 5
- Medium 5
Disclosures per year
- 2025: 2
- 2026: 8
-
code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.