Advisory record · GHSA-vj3q-vp3g-j9c8

code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

CVSS 8.7 HighEPSS 0.0023 · 14th percentile

Published by the GitHub Advisory Database at 25 Sept 2026, 15:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
code16/sharpPackagist<9.22.59.22.5
Identifiers
GHSA-vj3q-vp3g-j9c8 · CVE-2026-61825 · PKSA-p6zx-3z97-z7f8
Weakness (CWE)
CWE-79
Published
25 Sept 2026
Updated
25 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Versions of code16/sharp before 9.22.5 (Packagist) contain a stored cross-site scripting flaw in which the HTML sanitizer of SharpEditorFormField can be bypassed using the data-html-content attribute. The source does not say what privileges an attacker needs to store the content. Upgrade to code16/sharp 9.22.5 or later. In that version, the RAW_HTML toolbar button must be explicitly configured to keep the behavior, and applications using it must sanitize field content manually, for example with Symfony/HtmlSanitizer.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0023, the 14th percentile, on 14 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 13:54 UTC First seen by agentprime
  2. 31 Oct 2026, 13:54 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.