Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. code16/sharp
  4. ›
  5. CVE-2026-61825

CVE-2026-61825: code16/sharp has a stored XSS via data-html-content Sanitizer Bypass

September 25, 2026

The vulnerability allows an attacker to bypass the HTML sanitizer by using the data-html-content attribute in the content of a SharpEditorFormField.

References

  • github.com/advisories/GHSA-vj3q-vp3g-j9c8
  • github.com/code16/sharp/commit/ec509a22c808a5bd9dfad6a0a85c92ce6f411e21
  • github.com/code16/sharp/security/advisories/GHSA-vj3q-vp3g-j9c8
  • nvd.nist.gov/vuln/detail/CVE-2026-61825

Code Behaviors & Features

Detect and mitigate CVE-2026-61825 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 9.22.5

Fixed versions

  • 9.22.5

Solution

Upgrade to version 9.22.5 or above.

Impact 8.7 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/code16/sharp/CVE-2026-61825.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 26 Sep 2026 12:16:39 +0000.