---
id: CVE-2026-61825
title: >-
  code16 Sharp is a Laravel-based framework for building content-management and
  administrative interfaces
summary: >-
  code16 Sharp is a Laravel-based framework for building content-management and
  administrative interfaces. Versions before 9.22.5 contain a stored cross-site
  scripting vulnerability in `SharpEditorFormField`: attacker-controlled content
  be…
severity: high
cvss: 8.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N'
cwe:
  - CWE-79
vendor: code16
product: sharp
affected:
  - sharp < 9.22.5
published: '2026-09-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T19:17:15.500'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-61825'
references:
  - url: >-
      https://github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21
    label: security-advisories@github.com
  - url: 'https://github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8'
    label: security-advisories@github.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-09-24T18:53:19.093005Z'
ingestedAt: '2026-09-24T18:49:36.720Z'
---

## Overview

code16 Sharp is a Laravel-based framework for building content-management and administrative interfaces. Versions before 9.22.5 contain a stored cross-site scripting vulnerability in `SharpEditorFormField`: attacker-controlled content bearing the `data-html-content` attribute can bypass HTML sanitization and preserve executable markup, which may execute when another user views the stored content. The vendor identifies version 9.22.5 as patched; applications that intentionally enable `SharpFormEditorField::RAW_HTML` must continue to sanitize editor content themselves. As a workaround, applications should sanitize all editor content before storing or rendering it, for example with Symfony HtmlSanitizer, and disable RAW_HTML functionality where it is not required.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
