CVE-2026-84987 json
code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check
published 2d ago modified 2d ago also GHSA-g6f8-c3x9-jv7f
- cvss
- 5.4
- version 3.1, GitHub
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no EPSS score yet
- public exploits
- 0
- none known
Summary
### 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()`.
Patch / fix
- packagist code16/sharp 9.23.0, 10.0.0-beta.4
- github.com/code16/sharp@339f891 commit
- github.com/code16/sharp#748 pull request
- github.com/code16/sharp/releases/tag/v9.23.0 release
Is CVE-2026-84987 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | code16/sharp | <9.23.0 >=10.0.0-beta.1, <10.0.0-beta.4 |
9.23.0 10.0.0-beta.4 |
Classification
References
-
github.com
/code16/sharp/pull/748
web
-
github.com
/code16/sharp/commit/339f89110f36d06eaad3f2b4bd048fa5424e5558
web
-
github.com
/code16/sharp/security/advisories/GHSA-g6f8-c3x9-jv7f
web
-
github.com
/code16/sharp
package
-
github.com
/code16/sharp/releases/tag/v9.23.0
web
-
github.com
/code16/sharp/tree/v10.0.0-beta.4
web
Sources
- GitHub Advisory GHSA-g6f8-c3x9-jv7f
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.