GHSA-wqm8-jx8r-8rcq: Silverstripe/admin Cross-Site Scripting Vulnerability

MODERATE
CVSS 5.4
Published
Advisory Summary

GHSA-wqm8-jx8r-8rcq is a MODERATE (CVSS 5.4) cross-site scripting vulnerability (General Security Weakness) affecting Silverstripe/admin libraries in the Packagist ecosystem. The issue involves cross-site scripting vulnerabilities in old version of bundled tinymce. Remediation is available by upgrading affected packages to version 1.12.7.

GHSA-wqm8-jx8r-8rcq at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-wqm8-jx8r-8rcq
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-wqm8-jx8r-8rcq

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.12.7
Upgrade silverstripe/admin to 1.12.7
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-wqm8-jx8r-8rcq, 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.12.7), 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

An old version of TinyMCE include an XSS vulnerability, which was patched in a later version. This was described by TinyMCE: > A cross-site scripting (XSS) vulnerability was discovered in the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs. This impacts all users who are using TinyMCE 4.9.10 or lower and TinyMCE 5.4.0 or lower. We reviewed the potential impact of this vulnerability within the context of Silverstripe CMS. We concluded this is a medium impact vulnerability given how TinyMCE is used by Silverstripe CMS. Reported by: Developers at ACC

GHSA-wqm8-jx8r-8rcq Affected Silverstripe/admin Versions

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

References

Frequently Asked Questions

What is GHSA-wqm8-jx8r-8rcq?
GHSA-wqm8-jx8r-8rcq is a security vulnerability in Silverstripe/admin involving Cross-site scripting vulnerabilities in old version of bundled TinyMCE under General Security Weakness.
Which Silverstripe/admin versions are affected?
Affected versions include releases prior to 1.12.7 across affected packages: silverstripe/admin.
What version fixes GHSA-wqm8-jx8r-8rcq?
Upgrading to 1.12.7 (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.12.7. Upgrade your dependency to 1.12.7 or later.
What is the CVSS score of GHSA-wqm8-jx8r-8rcq?
GHSA-wqm8-jx8r-8rcq 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-wqm8-jx8r-8rcq?
GHSA-wqm8-jx8r-8rcq is classified under General Security Weakness.
How can I check Packagist dependencies for GHSA-wqm8-jx8r-8rcq?
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-wqm8-jx8r-8rcq",
  "modified" : "2023-04-26T15:54:44Z",
  "published" : "2023-04-26T15:54:44Z",
  "aliases" : [ ],
  "summary" : "Cross-site scripting vulnerabilities in old version of bundled TinyMCE",
  "details" : "An old version of TinyMCE include an XSS vulnerability, which was patched in a later version. This was described by TinyMCE:\n\n> A cross-site scripting (XSS) vulnerability was discovered in the core parser. The vulnerability allowed arbitrary JavaScript execution when inserting a specially crafted piece of content into the editor via the clipboard or APIs. This impacts all users who are using TinyMCE 4.9.10 or lower and TinyMCE 5.4.0 or lower.\n\nWe reviewed the potential impact of this vulnerability within the context of Silverstripe CMS. We concluded this is a medium impact vulnerability given how TinyMCE is used by Silverstripe CMS.\n\nReported by: Developers at ACC",
  "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.12.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-admin/security/advisories/GHSA-wqm8-jx8r-8rcq"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/admin/SS-2023-001.yaml"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-vrv8-v4w8-f95h"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-admin"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/ss-2023-001"
  }, {
    "type" : "WEB",
    "url" : "https://www.tiny.cloud/docs/release-notes/release-notes54/#securityfixes"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-04-26T15:54:44Z",
    "nvd_published_at" : null
  }
}