GHSA-38h6-gmr2-j4wx

Suggest an improvement
Source
https://github.com/advisories/GHSA-38h6-gmr2-j4wx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/04/GHSA-38h6-gmr2-j4wx/GHSA-38h6-gmr2-j4wx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-38h6-gmr2-j4wx
Aliases
Published
2023-04-03T21:06:31Z
Modified
2024-02-16T08:23:05.014535Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
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.

Database specific
{
    "nvd_published_at": "2023-04-03T18:15:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-04-03T21:06:31Z"
}
References

Affected packages

Packagist / bigfork/silverstripe-form-capture

Package

Name
bigfork/silverstripe-form-capture
Purl
pkg:composer/bigfork/silverstripe-form-capture

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.0.0
Fixed
3.1.1

Affected versions

3.*

3.0.0
3.1.0

Packagist / andrewhaine/silverstripe-form-capture

Package

Name
andrewhaine/silverstripe-form-capture
Purl
pkg:composer/andrewhaine/silverstripe-form-capture

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0.2.0
Fixed
1.0.2

Affected versions

0.*

0.2.0
0.2.1
0.2.3

1.*

1.0
1.0.1

Database specific

{
    "last_known_affected_version_range": "<= 0.2.3"
}

Packagist / andrewhaine/silverstripe-form-capture

Package

Name
andrewhaine/silverstripe-form-capture
Purl
pkg:composer/andrewhaine/silverstripe-form-capture

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.0
Fixed
2.2.5

Affected versions

2.*

2.0.0
2.0.1
2.0.2
2.1.0
2.2.0
2.2.1
2.2.2
2.2.3
2.2.4

Packagist / andrewhaine/silverstripe-form-capture

Package

Name
andrewhaine/silverstripe-form-capture
Purl
pkg:composer/andrewhaine/silverstripe-form-capture

Affected ranges

Type
ECOSYSTEM
Events
Introduced
1.0.0
Fixed
1.0.2

Affected versions

1.*

1.0.1