CVE-2026-84987: code16/sharp: Server-side request forgery through an unanchored autocomplete endpoint check

Published Nov 12, 2026
·
Updated

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

2 affected componentsFixes available
composer/code16/sharp>=10.0.0-beta.1<10.0.0-beta.4
10.0.0-beta.4
composer/code16/sharp<9.23.0
9.23.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade composer/code16/sharp to a version that resolves this vulnerability.

    Fixed in 10.0.0-beta.4
  2. Upgrade

    Upgrade composer/code16/sharp to a version that resolves this vulnerability.

    Fixed in 9.23.0
  3. Upgrade

    Upgrade code16/sharp to a version that resolves this vulnerability.

    Fixed in 9.23.0
  4. Upgrade

    Upgrade code16/sharp to a version that resolves this vulnerability.

    Fixed in 10.0.0-beta.4
  5. Configuration

    Use SharpFormAutocompleteRemoteField::setRemoteCallback() instead of SharpFormAutocompleteRemoteField::setRemoteEndpoint().

    SharpFormAutocompleteRemoteField remote endpoint method = setRemoteCallback()

Event History

Nov 12, 2026
Advisory Published
via GitHub·06:21 PM
Data Sourced
via GitHub·06:21 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Sharp autocomplete fields configured with SharpFormAutocompleteRemoteField::setRemoteEndpoint() are affected. Exploitation requires an authenticated attacker.

2

What does an attacker need to do to exploit this issue?

The attacker needs access as an authenticated user and must be able to call the Autocomplete API. They can use the configured endpoint as a substring to cause a request to another server-side route.

3

What versions contain a fix?

The issue is patched in version 9.23.0 and pre-release version 10.0.0-beta.4.

4

What can be done if updating is not immediately possible?

Replace SharpFormAutocompleteRemoteField::setRemoteEndpoint() with SharpFormAutocompleteRemoteField::setRemoteCallback().

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203