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

State
Published
Severity
5.4 Medium
Published
Nov 17, 2026
Updated
Nov 17, 2026
Reserved
Sep 2, 2026

Read the record on cve.org

Description

code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Prior to 9.23.0, an authenticated attacker can call the autocomplete API with a request endpoint that contains the configured remote endpoint only as a substring. The endpoint validation uses an unanchored regular expression, so a different internal route can satisfy the check and be invoked server-side through the autocomplete request. The vulnerable path uses SharpFormAutocompleteRemoteField::setRemoteEndpoint(); applications using SharpFormAutocompleteRemoteField::setRemoteCallback() are not affected by this endpoint-selection flaw. This issue is fixed in version 9.23.0.

ProductVersions
sharp code16< 9.23.0 Affected

Weaknesses

  • CWE-20 Improper Input Validation
  • CWE-625 Permissive Regular Expression
  • CWE-918 Server-Side Request Forgery

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.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.