GHSA-6hh6-59j2-qrxw

Suggest an improvement
Source
https://github.com/advisories/GHSA-6hh6-59j2-qrxw
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6hh6-59j2-qrxw/GHSA-6hh6-59j2-qrxw.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6hh6-59j2-qrxw
Published
2024-05-22T18:25:16Z
Modified
2024-05-22T18:42:48.899914Z
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 History XSS Vulnerability
Details

A cross-site scripting vulnerability has been discovered in the CMS page history tab.

This vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the text fields on a page, and if the "compare mode" option is selected. The HTML will be embedded into the page unescaped.

This has been resolved by performing the text comparison in a HTML friendly way.

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-05-22T18:25:16Z"
}
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"
}