CVE-2023-28851 is a medium-severity (CVSS 6.1) Cross-site Scripting (XSS) vulnerability in bigfork/silverstripe-form-capture. A fix is available for bigfork/silverstripe-form-capture — see the affected versions and patch details below.
Silverstripe Form Capture vulnerable to Stored Cross-Site Scripting
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2023-28851.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
bigfork/silverstripe-form-capture🐘andrewhaine/silverstripe-form-capture🐘andrewhaine/silverstripe-form-capture🐘andrewhaine/silverstripe-form-captureReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
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 Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | bigfork/silverstripe-form-capture | ≥ 3.0.0&&< 3.1.1 | 3.1.1composer require bigfork/silverstripe-form-capture:^3.1.1 |
| 🐘Packagist | andrewhaine/silverstripe-form-capture | ≥ 0.2.0&&< 1.0.2 | 1.0.2composer require andrewhaine/silverstripe-form-capture:^1.0.2 |
| 🐘Packagist | andrewhaine/silverstripe-form-capture | ≥ 2.0.0&&< 2.2.5 | 2.2.5composer require andrewhaine/silverstripe-form-capture:^2.2.5 |
| 🐘Packagist | andrewhaine/silverstripe-form-capture | ≥ 1.0.0&&< 1.0.2 | 1.0.2composer require andrewhaine/silverstripe-form-capture:^1.0.2 |
Affected Products
silverstripe form capturebigforkDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for bigfork/silverstripe-form-capture, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update bigfork/silverstripe-form-capture to 3.1.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-28851 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2023-28851 in your dependencies?
Find it across Packagist, including transitive dependencies.