{"id":"CVE-2025-62798","aliases":["CVE-2025-62798","GHSA-9f58-4465-23c7"],"related":[],"kind":"vulnerability","state":"published","title":"Sharp user-provided input can be evaluated in a SharpShowTextField with Vue template syntax","summary":"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 .","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"en","text":"A Cross-Site Scripting (XSS) vulnerability was discovered in code16/sharp when rendering content using the SharpShowTextField component.\n\nIn 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.\n\nFor example, if a field’s value contains `{{ Math.random() }}`, it will be executed instead of being displayed as text.\n\n### Impact\n\nAttackers who can control content rendered through SharpShowTextField could execute arbitrary JavaScript in the context of an authenticated user’s browser.\n\nThis could lead to:\n\n- Theft of user session tokens.\n- Unauthorized actions performed on behalf of users.\n- Injection of malicious content into the admin panel.\n\n### Patches\n\nThe issue has been fixed in v9.11.1 of code16/sharp package.\n\n### Mitigation / Workarounds\n\nSanitize or encode any user-provided data that may include (`{{` & `}}`) before displaying it in a SharpShowTextField.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Sharp es un framework de gestión de contenido construido para Laravel como un paquete. Antes de la versión 9.11.1, una vulnerabilidad de Cross-Site Scripting (XSS) fue descubierta en code16/sharp al renderizar contenido usando el componente SharpShowTextField. En las versiones afectadas, las expresiones envueltas en {{ & }} eran evaluadas por Vue. Esto permitía a los atacantes inyectar JavaScript o HTML arbitrario que se ejecuta en el navegador cuando se muestra el campo. El problema ha sido solucionado en la v9.11.1.","source":"nvd"}],"published":"2025-10-28T20:58:21.793Z","modified":"2026-10-08T11:10:00.250Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 9.11.1","status":"affected"}],"vendor":"code16","product":"sharp","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"9.11.1"}],"ecosystem":"Packagist","package":"code16/sharp","purl":"pkg:composer/code16/sharp","source":"ghsa"}],"references":[{"url":"https://github.com/code16/sharp/security/advisories/GHSA-9f58-4465-23c7","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/code16/sharp/pull/654","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/code16/sharp/releases/tag/v9.11.1","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62798","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ViktorMares/vue-js-xss-payload-list","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/code16/sharp","tags":["package"],"sources":["ghsa"]},{"url":"https://medium.com/@sid0krypt/vue-js-reflected-xss-fae04c9872d2","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-10-29T17:31:18.507Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-62798","url":"https://www.cve.org/CVERecord?id=CVE-2025-62798","licence":"CVE Terms of Use","modified":"2025-10-29T17:31:24.267Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9f58-4465-23c7","url":"https://github.com/advisories/GHSA-9f58-4465-23c7","licence":"CC-BY-4.0","modified":"2025-10-29T11:02:07.326Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-62798","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62798","licence":"Public domain","modified":"2026-10-08T11:10:00.250Z"}],"updatedAt":"2026-11-25T22:59:06.973Z","epss":{"score":0.00223,"percentile":0.13795,"date":"2026-12-01T12:00:22.000Z"}}