MEDIUM6.1
GHSA-38h6-gmr2-j4wx
Silverstripe Form Capture vulnerable to stored cross-site-scripting
Quick fix
GHSA-38h6-gmr2-j4wx — bigfork/silverstripe-form-capture: upgrade to the fixed version with the command below.
composer require bigfork/silverstripe-form-capture:^3.1.1Details
### 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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/bigfork/silverstripe-form-capture
Introduced in:
3.0.0Fixed in: 3.1.1Fix
composer require bigfork/silverstripe-form-capture:^3.1.1Packagist/andrewhaine/silverstripe-form-capture
Introduced in:
0.2.0Fixed in: 1.0.2Fix
composer require andrewhaine/silverstripe-form-capture:^1.0.2Packagist/andrewhaine/silverstripe-form-capture
Introduced in:
2.0.0Fixed in: 2.2.5Fix
composer require andrewhaine/silverstripe-form-capture:^2.2.5Packagist/andrewhaine/silverstripe-form-capture
Introduced in:
1.0.0Fixed in: 1.0.2Fix
composer require andrewhaine/silverstripe-form-capture:^1.0.2References
- https://github.com/bigfork/silverstripe-form-capture/security/advisories/GHSA-38h6-gmr2-j4wx[WEB]
- https://nvd.nist.gov/vuln/detail/CVE-2023-28851[ADVISORY]
- https://github.com/bigfork/silverstripe-form-capture/commit/3a7a3c480e3fccddce9c5f359796d45a8302a622[WEB]
- https://github.com/bigfork/silverstripe-form-capture/commit/5b3aa39dd1eef042f173167b0fa4d3f717971772[WEB]
- https://github.com/bigfork/silverstripe-form-capture[PACKAGE]