Code16 Sharp Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Code16 Sharp version 9.6.6. The issue arises in the image file upload feature, which accepts SVG files without proper sanitization. This lack of validation allows attackers to upload SVGs containing malicious scripts that could be executed in the context of the user.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where uploaded SVG files with embedded scripts are executed when the images are viewed. This could lead to session hijacking or unauthorized actions on behalf of the user. Additionally, the vulnerability could be exploited to cause a denial-of-service by uploading SVGs that disrupt server performance.

Remediation

Users can upgrade to Code16 Sharp version 9.7.0, which includes a fix by sanitizing SVG uploads by default. Instructions for downloading this version are available on the Code16 Sharp GitHub releases page.

Added: Oct 21, 2025, 7:24 PM
Updated: Oct 21, 2025, 10:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.3
exploitability
7.7
remediation
7.7
relevance
0.8
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.