GitHub Advisory Database
GHSA-38h6-gmr2-j4wx
Silverstripe Form Capture vulnerable to stored cross-site-scripting
Details
Impact
Improper escaping when presenting stored form submissions allowed for an attacker to perform a Cross-Site Scripting attack
Patches
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Packagist | bigfork/silverstripe-form-capture | From 3.0.0 before 3.1.1 (fixed in 3.1.1) |
| Packagist | andrewhaine/silverstripe-form-capture | From 0.2.0 before 1.0.2 (fixed in 1.0.2) |
| Packagist | andrewhaine/silverstripe-form-capture | From 2.0.0 before 2.2.5 (fixed in 2.2.5) |
| Packagist | andrewhaine/silverstripe-form-capture | From 1.0.0 before 1.0.2 (fixed in 1.0.2) |
References
- https://github.com/bigfork/silverstripe-form-capture/security/advisories/GHSA-38h6-gmr2-j4wx
- https://nvd.nist.gov/vuln/detail/CVE-2023-28851
- https://github.com/bigfork/silverstripe-form-capture/commit/3a7a3c480e3fccddce9c5f359796d45a8302a622
- https://github.com/bigfork/silverstripe-form-capture/commit/5b3aa39dd1eef042f173167b0fa4d3f717971772
- https://github.com/bigfork/silverstripe-form-capture