CVE-2025-62798
Sharp user-provided input can be evaluated in a SharpShowTextField with Vue template syntax
Overview
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 .
Source: OX vulnerability database
Severity
5.4 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | code16/sharp | <9.11.1 | 9.11.1 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/ViktorMares/vue-js-xss-payload-list
- github.com https://github.com/code16/sharp
- github.com https://github.com/code16/sharp/pull/654
- github.com https://github.com/code16/sharp/releases/tag/v9.11.1
- github.com https://github.com/code16/sharp/security/advisories/GHSA-9f58-4465-23c7
- medium.com https://medium.com/@sid0krypt/vue-js-reflected-xss-fae04c9872d2
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2025-62798
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.