Vulnerability · Published Apr 3, 2023 · Assigned by GitHub_M
CVE-2023-28851Silverstripe Form Capture vulnerable to Stored Cross-Site Scripting
Medium 6.1
In plain English
A medium-severity cross-site scripting in silverstripe-form-capture from bigfork. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | andrewhaine/silverstripe-form-capture | 1.0.2 | GHSA-38h6-gmr2-j4wx |
| Packagist | andrewhaine/silverstripe-form-capture | 2.2.5 | GHSA-38h6-gmr2-j4wx |
| Packagist | andrewhaine/silverstripe-form-capture | 1.0.2 | GHSA-38h6-gmr2-j4wx |
| Packagist | bigfork/silverstripe-form-capture | 3.1.1 | GHSA-38h6-gmr2-j4wx |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| bigfork | silverstripe-form-capture | >= 0.2.0, < 1.0.2>= 2.0.0, < 2.2.5>= 3.0.0, < 3.1.1 |
Weakness: CWE-80, CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N