CVE-2025-62798 Details
Description
Sharp is a content management framework built for Laravel as a package. Prior to 9.11.1, a Cross-Site Scripting (XSS) vulnerability was discovered in code16/sharp when rendering content using the SharpShowTextField component. In affected versions, expressions wrapped in {{ & }} were evaluated by Vue. This allowed attackers to inject arbitrary JavaScript or HTML that executes in the browser when the field is displayed. The issue has been fixed in v9.11.1 .
A Cross-Site Scripting (XSS) vulnerability exists in Code16 Sharp versions prior to 9.11.1. The issue arises in the SharpShowTextField component, where expressions wrapped in '{{' and '}}' are evaluated by Vue. This behavior allows attackers to inject arbitrary JavaScript or HTML that executes in the browser when the content is displayed. For instance, a field value containing '{{ Math.random() }}' would be executed rather than shown as plain text.
Users can update to Code16 Sharp version 9.11.1 or later to address this vulnerability. Additionally, it is recommended to sanitize or encode any user-provided data that may include '{{' and '}}' before displaying it in a SharpShowTextField.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 28, 2025CISA-ADP
Assessed Oct 29, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/code16/sharp/pull/654 | [email protected] | Issue TrackingVendor |
| https://github.com/code16/sharp/releases/tag/v9.11.1 | [email protected] | Release NotesVendor |
| https://github.com/code16/sharp/security/advisories/GHSA-9f58-4465-23c7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| code16/sharp | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 8, 2026 | CVE Translated | [email protected] |
| Sep 30, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 28, 2025 | New CVE Received | [email protected] |
Volerion