High

silverstripe/framework code execution vulnerability

  • Disclosed: 27.05.2024
  • Updated: 11.10.2026 10:22

There is a vulnerability whereby arbitrary global functions may be executed if malicious user input is passed through to in the second argument of ViewableData::renderWith. This argument resolves associative arrays as template placeholders. This exploit requires that user code has been written which makes use of the second argument in renderWith and where user input is passed directly as a value in an associative array without sanitisation such as Convert::raw2xml().

ViewableData::customise is not vulnerable.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package silverstripe/framework >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-74
Platform
Composer
Package
silverstripe/framework
Disclosed
27.05.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-vgxh-x8jv-hmff - CC BY 4.0

Vulnerability history: silverstripe/framework

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (93) in the archive
Total entries
93
First → latest
11.2019 08.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • High 13
  • Medium 69
  • Low 8

Disclosures per year

  1. 2019: 5
  2. 2020: 2
  3. 2021: 0
  4. 2022: 23
  5. 2023: 3
  6. 2024: 53
  7. 2025: 6
  8. 2026: 1
Severity:
  1. High · 8.8 ghsa-265q-222x-52m6 >= 4.0.0-rc1, < 4.0.6, >= 4.1.0-rc1, < 4.1.4, >= 4.2.0-rc1, < 4.2.3 4.0.6, 4.1.4, 4.2.3
  2. High · 7.5 ghsa-cwgq-83w5-8jfq >= 4.0.0-rc1, < 4.0.5, >= 4.1.0-rc1, < 4.1.3, >= 4.2.0-rc1, < 4.2.2 4.0.5, 4.1.3, 4.2.2
  3. High · 8.8 ghsa-vcg6-8fxc-x5cq >= 3.6.5-rc1, < 3.6.6, >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 3.6.6, 4.0.4, 4.1.1
  4. silverstripe/framework code execution vulnerability this entry
    High · 7.5 ghsa-vgxh-x8jv-hmff >= 4.0.3-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1
  5. High · 7.5 ghsa-m5q3-mvcr-gc5m >= 4.0.0-rc1, < 4.0.4, >= 4.1.0-rc1, < 4.1.1 4.0.4, 4.1.1
  6. High · 8.8 ghsa-xx4r-5265-48j6 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3, >= 4.0.0-rc1, < 4.0.1 3.5.6, 3.6.3, 4.0.1
  7. High · 8.0 ghsa-mqjc-x563-c9q8 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3, >= 4.0.0-rc1, < 4.0.1 3.5.6, 3.6.3, 4.0.1
  8. High ghsa-7m2v-x7rg-5hm5 >= 3.5.0-rc1, < 3.5.5, >= 3.6.0-rc1, < 3.6.2 3.5.5, 3.6.2
  9. High · 7.5 ghsa-4qx8-j9vh-2628 >= 3.5.0-rc1, < 3.5.6, >= 3.6.0-rc1, < 3.6.3 3.5.6, 3.6.3
  10. Critical · 9.1 ghsa-8v6m-7f5v-hhx6 >= 3.1.18, < 3.1.19, >= 3.2.3, < 3.2.4, >= 3.3.1, < 3.3.2 3.1.19, 3.2.4, 3.3.2
  11. High · 7.2 ghsa-25gq-jvx2-vg9x >= 3.1.0, < 3.1.13 3.1.13
  12. High · 8.8 CVE-2022-38148 >= 4.0.0, < 4.10.11, >= 4.11.0, < 4.11.14 4.10.11, 4.11.14
  13. High · 7.5 CVE-2020-6164 >= 4.0.0, < 4.4.7, >= 4.5.0, < 4.5.4 4.4.7, 4.5.4
  14. High · 7.5 CVE-2020-9280 >= 4.0.0, < 4.4.6 4.4.6
  15. Critical · 9.8 CVE-2019-5715 >= 3.0.0, < 3.6.7, >= 4.0.0, < 4.0.7, >= 3.7.0, < 3.7.3, >= 4.1.0, < 4.1.5, >= 4.2.0, < 4.2.4, >= 4.3.0, < 4.3.1 3.6.7, 4.0.7, 3.7.3, 4.1.5, 4.2.4, 4.3.1
  16. Critical · 9.8 CVE-2019-12204 >= 4.1.0, < 4.3.5 4.3.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.