CVE-2026-88991: Silverstripe/userforms Silverstripe/userforms Allows Server-side Template Injection Vulnerability

HIGH
Advisory Identifier: GHSA-8f3c-h6mw-83ch
CVSS 8.8
CWE-1336
Published
Advisory Summary

CVE-2026-88991 is a HIGH (CVSS 8.8) silverstripe/userforms allows server-side template injection vulnerability (CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine) affecting Silverstripe/userforms libraries in the Packagist ecosystem. The issue involves silverstripe/userforms allows server-side template injection in email subjects. Remediation is available by upgrading affected packages to version 6.4.10, 7.1.4.

CVE-2026-88991 at a Glance

CVE Identifier CVE-2026-88991
GHSA Identifier GHSA-8f3c-h6mw-83ch
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine
Affected Product Silverstripe/userforms
Package Ecosystem Packagist
Published Date
Last Updated

Security Impact

CVSS: 8.8

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

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

How to Fix CVE-2026-88991

To remediate this vulnerability, upgrade all affected Silverstripe/userforms 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/userforms fixed: 6.4.10
Upgrade silverstripe/userforms to 6.4.10
silverstripe/userforms fixed: 7.1.4
Upgrade silverstripe/userforms to 7.1.4
silverstripe/userforms fixed: Latest secure release
Upgrade silverstripe/userforms to Latest secure release
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/userforms

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-88991, inspect your project dependencies for Silverstripe/userforms:

inspect dependencies for silverstripe/userforms

Analyze the terminal output to locate any version of Silverstripe/userforms in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.4.10), 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 CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine, where the product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine. In Silverstripe/userforms, 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

### Impact The email subject of a user-defined form email recipient was rendered as a template when the form was submitted. A CMS author who can edit user defined forms could use template code in this field to run code on the server. ### Patches This vulnerability has no commit of its own to resolve it. Instead, the fix for [SS-2026-001](https://www.silverstripe.org/download/security-releases/ss-2026-001) also fixes it. ### Reported by Jack Wallace from Bastion Security

CVE-2026-88991 Affected Silverstripe/userforms Versions

3 component(s)
Fixed Versions:
6.4.107.1.4
Product / Package Ecosystem Affected Versions Fixed Version
silverstripe/userforms
Packagist
< 6.4.10
6.4.10
silverstripe/userforms
Packagist
≥ 7.0.0-alpha1
< 7.1.4
7.1.4
silverstripe/userforms
Packagist
8.x-dev
All 1 versions
8.x-dev
None specified

References

GitHub Advisory / Wiki ADVISORY
https://github.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-8f3c-h6mw-83ch
Silverstripe/userforms Source Repository REPOSITORY
https://github.com/silverstripe/silverstripe-userforms/pull/1462
Silverstripe/userforms Source Repository REPOSITORY
https://github.com/silverstripe/silverstripe-userforms/pull/1466
Security Fix Commit FIX COMMIT
https://github.com/silverstripe/silverstripe-userforms/commit/ab4eb7d1a13bf654ffe24f0218e6c645fa443a9e
Security Fix Commit FIX COMMIT
https://github.com/silverstripe/silverstripe-userforms/commit/d96ed13ca087c6048390485fe02b9a9505294c78
Silverstripe/userforms Source Repository REPOSITORY
https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/CVE-2026-88991.yaml
Silverstripe/userforms Source Repository REPOSITORY
https://github.com/silverstripe/silverstripe-userforms
Silverstripe/userforms Source Repository REPOSITORY
https://github.com/silverstripe/silverstripe-userforms/blob/7fc4015000be4d45714b0f843400b8dfbacc76fb/code/Control/UserDefinedFormController.php
Silverstripe/userforms Release RELEASE
https://github.com/silverstripe/silverstripe-userforms/releases/tag/6.4.10
Silverstripe/userforms Release RELEASE
https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.1.4
Silverstripe/userforms Release RELEASE
https://www.silverstripe.org/download/security-releases/cve-2026-88991
Silverstripe/userforms Release RELEASE
https://www.silverstripe.org/download/security-releases/ss-2026-001

Frequently Asked Questions

What is CVE-2026-88991?
CVE-2026-88991 is a security vulnerability in Silverstripe/userforms involving silverstripe/userforms allows server-side template injection in email subjects under CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine.
Which Silverstripe/userforms versions are affected?
Affected versions include releases prior to 6.4.10, 7.1.4 across affected packages: silverstripe/userforms.
What version fixes CVE-2026-88991?
Upgrading to 6.4.10, 7.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is silverstripe/userforms affected?
Yes, silverstripe/userforms is affected in releases prior to 6.4.10, 7.1.4, Latest secure release. Upgrade your dependency to 6.4.10, 7.1.4, Latest secure release or later.
What is the CVSS score of CVE-2026-88991?
CVE-2026-88991 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-88991?
CVE-2026-88991 is classified under CWE-1336: Improper Neutralization of Special Elements Used in a Template Engine (The product uses a template engine to insert or process externally-influenced input, but it does not neutralize or incorrectly neutralizes special elements or syntax that can be interpreted as template expressions or other code directives when processed by the engine.).
How can I check Packagist dependencies for CVE-2026-88991?
Run the dependency tree command: 'inspect dependencies for silverstripe/userforms'. 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-8f3c-h6mw-83ch",
  "modified" : "2026-12-03T17:41:03Z",
  "published" : "2026-12-03T17:41:03Z",
  "aliases" : [ "CVE-2026-88991" ],
  "summary" : "silverstripe/userforms allows server-side template injection in email subjects",
  "details" : "### Impact\nThe email subject of a user-defined form email recipient was rendered as a template when the form was submitted. A CMS author who can edit user defined forms could use template code in this field to run code on the server.\n\n### Patches\nThis vulnerability has no commit of its own to resolve it. Instead, the fix for [SS-2026-001](https://www.silverstripe.org/download/security-releases/ss-2026-001) also fixes it.\n\n### Reported by\nJack Wallace from Bastion Security",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/userforms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "6.4.10"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/userforms"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "7.0.0-alpha1"
      }, {
        "fixed" : "7.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Packagist",
      "name" : "silverstripe/userforms"
    },
    "versions" : [ "8.x-dev" ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/security/advisories/GHSA-8f3c-h6mw-83ch"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/pull/1462"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/pull/1466"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/commit/ab4eb7d1a13bf654ffe24f0218e6c645fa443a9e"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/commit/d96ed13ca087c6048390485fe02b9a9505294c78"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/userforms/CVE-2026-88991.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/silverstripe/silverstripe-userforms"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/blob/7fc4015000be4d45714b0f843400b8dfbacc76fb/code/Control/UserDefinedFormController.php"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/releases/tag/6.4.10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/silverstripe/silverstripe-userforms/releases/tag/7.1.4"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/cve-2026-88991"
  }, {
    "type" : "WEB",
    "url" : "https://www.silverstripe.org/download/security-releases/ss-2026-001"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1336" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-03T17:41:03Z",
    "nvd_published_at" : null
  }
}