CVE-2025-30148
MEDIUM 5.4CVSS 3.1Silverstripe Framework has a XSS vulnerability in HTML editor
Silverstripe Framework is a PHP framework which powers the Silverstripe CMS. Prior to 5.3.23, bad actor with access to edit content in the CMS could send a specifically crafted encoded payload to the server, which could be used to inject a JavaScript payload on the front end of the site. The payload would be sanitized on the client-side, but server-side sanitization doesn't catch it. The server-side sanitization logic has been updated to sanitize against this attack. This vulnerability is fixed in 5.3.23.
- Published
- 10 Apr 2025
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-rhx4-hvx9-j387
- Sources
- NVDJSONOSV GHSA-rhx4-hvx9-j387JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | silverstripe | frameworkcpe:2.3:a:silverstripe:framework:*:*:*:*:*:*:*:* |
<= 5.3.23 | |
| OSV | Packagist | silverstripe/framework | < 5.3.23 | 5.3.23 |
References
- https://github.com/silverstripe/silverstripe-framework/commit/e99cfd62d160d145a76fcf9631e6b11226e42358 · Patch, WEB
- https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-rhx4-hvx9-j387 · Vendor Advisory, WEB
- https://www.silverstripe.org/download/security-releases/cve-2025-30148 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-30148 · ADVISORY
- https://github.com/silverstripe/silverstripe-framework/pull/11682 · WEB
- https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/CVE-2025-30148.yaml · WEB
- https://github.com/silverstripe/silverstripe-framework · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 10 Apr 2025)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 10 Apr 2025)