GHSA-4q66-g4mm-8rg5: Silverstripe/admin Cross-Site Scripting Vulnerability

MODERATE
CVSS 5.4
Published
Advisory Summary

GHSA-4q66-g4mm-8rg5 is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (General Security Weakness) affecting Silverstripe/admin libraries in the Packagist ecosystem. The issue involves silverstripe has cross-site scripting (xss) vulnerabilities inherited from tinymce. Remediation is available by upgrading affected packages to version 1.13.6.

GHSA-4q66-g4mm-8rg5 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-4q66-g4mm-8rg5
Severity MODERATE
CVSS v3.1 Base Score 5.4
CWE Classification General Security Weakness
Affected Product Silverstripe/admin
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 5.4

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix GHSA-4q66-g4mm-8rg5

To remediate this vulnerability, upgrade all affected Silverstripe/admin dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

silverstripe/admin fixed: 1.13.6
Upgrade silverstripe/admin to 1.13.6
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for silverstripe/admin

How to Check if You Are Affected

To determine whether your application is affected by GHSA-4q66-g4mm-8rg5, inspect your project dependencies for Silverstripe/admin:

inspect dependencies for silverstripe/admin

Analyze the terminal output to locate any version of Silverstripe/admin in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.13.6), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Silverstripe/admin, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

TinyMCE 4.x is vulnerable to several XSS vectors, which had been patched in later versions. Two of these have been identified as affecting `silverstripe/admin`. Only Silverstripe CMS 4 is affected by this issue. It's not possible to upgrade Silverstripe CMS 4 to use a more recent release of TinyMCE without introducing breaking changes. Instead, the security patches that shipped in later releases of TinyMCE have been backported to the TinyMCE version bundled in `silverstripe/admin`. Silverstripe CMS 5 is not affected by those vulnerabilities because it uses TinyMCE 6. You can find more information about the underlying vulnerabilities in those GitHub security advisories: - [GHSA-5h9g-x5rv-25wg Cross-site scripting vulnerability in TinyMCE](https://github.com/advisories/GHSA-5h9g-x5rv-25wg) - [GHSA-w7jx-j77m-wp65 Cross-site scripting vulnerability in TinyMCE](https://github.com/advisories/GHSA-w7jx-j77m-wp65)

GHSA-4q66-g4mm-8rg5 Affected Silverstripe/admin Versions

1 component(s)
Fixed Versions:
1.13.6
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/admin
Packagist
< 1.13.6
1.13.6

References

Frequently Asked Questions

What is GHSA-4q66-g4mm-8rg5?
GHSA-4q66-g4mm-8rg5 is a security vulnerability in Silverstripe/admin involving Silverstripe has Cross-site Scripting (XSS) vulnerabilities inherited from TinyMCE under General Security Weakness.
Which Silverstripe/admin versions are affected?
Affected versions include releases prior to 1.13.6 across affected packages: silverstripe/admin.
What version fixes GHSA-4q66-g4mm-8rg5?
Upgrading to 1.13.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is silverstripe/admin affected?
Yes, silverstripe/admin is affected in releases prior to 1.13.6. Upgrade your dependency to 1.13.6 or later.
What is the CVSS score of GHSA-4q66-g4mm-8rg5?
GHSA-4q66-g4mm-8rg5 has a CVSS v3.1 base score of 5.4 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
What CWE is associated with GHSA-4q66-g4mm-8rg5?
GHSA-4q66-g4mm-8rg5 is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-4q66-g4mm-8rg5?
Run the dependency tree command: 'inspect dependencies for silverstripe/admin'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-4q66-g4mm-8rg5",
  "modified" : "2023-07-31T22:02:35Z",
  "published" : "2023-07-31T22:02:35Z",
  "aliases" : [ ],
  "summary" : "Silverstripe has Cross-site Scripting (XSS) vulnerabilities inherited from TinyMCE",
  "details" : "TinyMCE 4.x is vulnerable to several XSS vectors, which had been patched in later versions. Two of these have been identified as affecting `silverstripe/admin`.\n\nOnly Silverstripe CMS 4 is affected by this issue. It's not possible to upgrade Silverstripe CMS 4 to use a more recent release of TinyMCE without introducing breaking changes. Instead, the security patches that shipped in later releases of TinyMCE have been backported to the TinyMCE version bundled in `silverstripe/admin`.\n\nSilverstripe CMS 5 is not affected by those vulnerabilities because it uses TinyMCE 6.\n\nYou can find more information about the underlying vulnerabilities in those GitHub security advisories:\n\n- [GHSA-5h9g-x5rv-25wg Cross-site scripting vulnerability in TinyMCE](https://github.com/advisories/GHSA-5h9g-x5rv-25wg)\n- [GHSA-w7jx-j77m-wp65 Cross-site scripting vulnerability in TinyMCE](https://github.com/advisories/GHSA-w7jx-j77m-wp65)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/admin"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.13.6"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-admin/security/advisories/GHSA-4q66-g4mm-8rg5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-admin/commit/cafc1c4de58f1553b019dc2f8a62f835cabdbeb2"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-5h9g-x5rv-25wg"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-w7jx-j77m-wp65"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-admin"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-07-31T22:02:35Z",
    "nvd_published_at" : null
  }
}