Description
Silverstripe Versioned provides versioning for Silverstripe models. Prior to 3.2.1, RestoreAction::getRestoreMessage() in src/RestoreAction.php builds ArchiveAdmin restore notifications rendered as CAST_HTML and inserts $restoredItem->Title, $restoredItem->URLSegment, $restoredItem->CMSEditLink(), and $changedProperty['value'] without applying Convert::raw2xml(). When an administrator restores an archived page containing a crafted title or URL segment, the generated restoration message can execute stored JavaScript in the administrator's browser, compromising the confidentiality and integrity of the CMS session. This issue is fixed in version 3.2.1.
Published: 2026-08-28
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross-Site Scripting that can compromise CMS session confidentiality and integrity
Action: Patch Now
AI Analysis

Impact

The vulnerability originates in Silverstripe Versioned's restore logic. The RestoreAction::getRestoreMessage() method builds an archived page restoration notification as CAST_HTML and injects values from $restoredItem->Title, $restoredItem->URLSegment, $restoredItem->CMSEditLink(), and $changedProperty['value'] without sanitizing them. If an administrator restores an archived page whose title or URL segment contains malicious JavaScript, the confirmation message executed in the admin browser allows the attacker to run arbitrary code, gaining access to the CMS session.

Affected Systems

The affected product is the Silverstripe Versioned module from Silverstripe. All deployments of the module older than version 3.2.1 are vulnerable. The module is a component of Silverstripe CMS that enables versioning for models.

Risk and Exploitability

The CVSS score is 5.4, indicating moderate severity. EPSS information is unavailable, but the vulnerability requires administrative interaction to trigger the exploit—an admin must restore a page containing crafted input. Without such interaction the path is not remotely exploitable. This entry is not listed in the CISA KEV catalog. Attackers can exploit the flaw by creating an archived page with malicious content and then prompting an authorized administrator to restore it, leading to session hijacking and potential further actions on the CMS.

Generated by OpenCVE AI on August 28, 2026 at 23:43 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Silverstripe Versioned to version 3.2.1 or later to apply the official fix
  • Identify and delete or sanitize archived pages that contain suspicious titles or URL segments before restoration
  • Restrict the restore functionality to trusted administrators or temporarily disable it until the patch is applied

Generated by OpenCVE AI on August 28, 2026 at 23:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-m4g4-86qc-v8w7 silverstripe/versioned has XSS in archive admin restore
History

Mon, 31 Aug 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Silverstripe
Silverstripe silverstripe
Vendors & Products Silverstripe
Silverstripe silverstripe

Mon, 31 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 28 Aug 2026 22:30:00 +0000

Type Values Removed Values Added
Description Silverstripe Versioned provides versioning for Silverstripe models. Prior to 3.2.1, RestoreAction::getRestoreMessage() in src/RestoreAction.php builds ArchiveAdmin restore notifications rendered as CAST_HTML and inserts $restoredItem->Title, $restoredItem->URLSegment, $restoredItem->CMSEditLink(), and $changedProperty['value'] without applying Convert::raw2xml(). When an administrator restores an archived page containing a crafted title or URL segment, the generated restoration message can execute stored JavaScript in the administrator's browser, compromising the confidentiality and integrity of the CMS session. This issue is fixed in version 3.2.1.
Title Silverstripe Versioned: XSS in archive admin restore
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}


Subscriptions

Silverstripe Silverstripe
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-31T18:23:24.962Z

Reserved: 2026-06-17T14:40:28.379Z

Link: CVE-2026-55779

cve-icon Vulnrichment

Updated: 2026-08-31T18:23:21.801Z

cve-icon NVD

Status : Deferred

Published: 2026-08-28T23:17:07.357

Modified: 2026-09-09T21:09:13.080

Link: CVE-2026-55779

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-31T21:24:27Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')