# GHSA-jxcx-3h54-qqxx: SilverStripe CMS Cross-site Scripting vulnerabilities inherited from TinyMCE

> Attackers can execute scripts in SilverStripe CMS 4 admin interfaces via inherited TinyMCE XSS flaws, potentially stealing data or hijacking accounts.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 23 Aug 2023

## What is GHSA-jxcx-3h54-qqxx?

GHSA-jxcx-3h54-qqxx is a cross-site scripting vulnerability in silverstripe/admin, published on 23 Aug 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

### Official description

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 these vulnerabilities. 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 these vulnerabilities because it uses TinyMCE 6.

## Which versions are affected by GHSA-jxcx-3h54-qqxx?

2 open source packages ship an affected version, including silverstripe/admin.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `silverstripe/admin` | Packagist | From 1.0.0 | 1.13.6 |
| `silverstripe/admin` | Packagist | From 1.0.0 | 1.13.6 |

## How do I fix GHSA-jxcx-3h54-qqxx?

Upgrade silverstripe/admin to 1.13.6 or later.

## Is GHSA-jxcx-3h54-qqxx being exploited?

There is no known exploitation of GHSA-jxcx-3h54-qqxx in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-jxcx-3h54-qqxx and fix it if it is affected.

What it is: GHSA-jxcx-3h54-qqxx is a cross-site scripting vulnerability in silverstripe/admin, published on 23 Aug 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of GHSA-jxcx-3h54-qqxx in the wild and no public exploit code.

Affected packages and fixed versions:
- silverstripe/admin (Packagist): affected from 1.0.0; fixed in 1.13.6
- silverstripe/admin (Packagist): affected from 1.0.0; fixed in 1.13.6

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-jxcx-3h54-qqxx/ (Markdown: https://insights.sbomify.com/GHSA-jxcx-3h54-qqxx/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-jxcx-3h54-qqxx

---
From sbomify Insights: https://insights.sbomify.com/GHSA-jxcx-3h54-qqxx/
Summaries are generated and may contain mistakes; the official description above is the record.
