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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: Low; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.49% (percentile 35, 2026-11-26)
- **CWE:** CWE-80, CWE-79
- **Aliases:** GHSA-38h6-gmr2-j4wx
- **Published:** 2023-04-03T17:36:22.490Z
- **Modified:** 2026-09-10T03:49:53.332Z

## Who should check

- Projects that depend on Packagist package bigfork/silverstripe-form-capture (\>= 3.0.0, \< 3.1.1)
- Projects that depend on Packagist package andrewhaine/silverstripe-form-capture (\>= 0.2.0, \< 1.0.2)
- Anyone running bigfork silverstripe-form-capture \>= 0.2.0, \< 1.0.2; \>= 2.0.0, \< 2.2.5; \>= 3.0.0, \< 3.1.1

## 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.

## Affected and fixed versions

- Packagist `bigfork/silverstripe-form-capture`: affected \>= 3.0.0, \< 3.1.1; fixed 3.1.1 (osv)
- Packagist `andrewhaine/silverstripe-form-capture`: affected \>= 0.2.0, \< 1.0.2; fixed 1.0.2, 2.2.5 (osv)
- bigfork silverstripe-form-capture: \>= 0.2.0, \< 1.0.2; \>= 2.0.0, \< 2.2.5; \>= 3.0.0, \< 3.1.1 (cvelist)

## Mitigation

- Upgrade bigfork/silverstripe-form-capture to 3.1.1 or later.
- Upgrade andrewhaine/silverstripe-form-capture to one of 1.0.2, 2.2.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-28851. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-28851.md
Affected: bigfork/silverstripe-form-capture >= 3.0.0, < 3.1.1; andrewhaine/silverstripe-form-capture >= 0.2.0, < 1.0.2
Fixed in: 3.1.1, 1.0.2, 2.2.5

Steps:
1. Search this machine and project for bigfork/silverstripe-form-capture (Packagist), andrewhaine/silverstripe-form-capture (Packagist), bigfork silverstripe-form-capture: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-28851 being exploited?

There is no confirmed exploitation: CVE-2023-28851 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-28851?

Medium: CVSS 6.1 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2023-28851?

bigfork/silverstripe-form-capture \>= 3.0.0, \< 3.1.1; andrewhaine/silverstripe-form-capture \>= 0.2.0, \< 1.0.2.

### Is there a fix for CVE-2023-28851?

Yes. Fixed in 3.1.1, 1.0.2, 2.2.5. Upgrade bigfork/silverstripe-form-capture to 3.1.1 or later. Upgrade andrewhaine/silverstripe-form-capture to one of 1.0.2, 2.2.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2023-28851?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/bigfork/silverstripe-form-capture/security/advisories/GHSA-38h6-gmr2-j4wx>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2023-28851>
- patch: <https://github.com/bigfork/silverstripe-form-capture/commit/5b3aa39dd1eef042f173167b0fa4d3f717971772>
- patch: <https://github.com/bigfork/silverstripe-form-capture/commit/3a7a3c480e3fccddce9c5f359796d45a8302a622>
- other: <https://github.com/bigfork/silverstripe-form-capture>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-28851>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-38h6-gmr2-j4wx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2023-28851> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-28851>
