GHSA-r97r-64vp-fghm

Suggest an improvement
Source
https://github.com/advisories/GHSA-r97r-64vp-fghm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-r97r-64vp-fghm/GHSA-r97r-64vp-fghm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-r97r-64vp-fghm
Published
2024-05-22T18:53:38Z
Modified
2024-12-07T05:24:40.106362Z
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 XSS vulnerability via VirtualPage
Details

A cross-site scripting vulnerability has been discovered in the VirtualPage class.

This vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the textfields of a page which a VirtualPage refers to.

This has been resolved by ensuring that VirtualPage safely escapes all field content.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-22T18:53:38Z"
}
References

Affected packages

Packagist / silverstripe/cms

Package

Name
silverstripe/cms
Purl
pkg:composer/silverstripe/cms

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.1.0
Fixed
3.1.10

Affected versions

3.*

3.1.0
3.1.1
3.1.2-rc1
3.1.2
3.1.3-rc1
3.1.3-rc2
3.1.3
3.1.4-rc1
3.1.4
3.1.5-rc1
3.1.5
3.1.6-rc1
3.1.6-rc2
3.1.6-rc3
3.1.6
3.1.7-rc1
3.1.7
3.1.8
3.1.9-rc1
3.1.9
3.1.10-rc1
3.1.10-rc2

Database specific

{
    "last_known_affected_version_range": "<= 3.1.9"
}