---
id: CVE-2026-55779
title: Silverstripe Versioned provides versioning for Silverstripe models
summary: >-
  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->Ti…
severity: medium
cvss: 5.4
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-79
vendor: silverstripe
product: silverstripe/versioned
affected:
  - silverstripe/versioned < 3.2.1
patched:
  - silverstripe/versioned 3.2.1
published: '2026-08-28'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T21:09:13.080'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-55779'
references:
  - url: >-
      https://github.com/silverstripe/silverstripe-versioned/commit/6e30a2cf8d4b9233690464da61bd0fc4d3e92952
    label: security-advisories@github.com
  - url: 'https://github.com/silverstripe/silverstripe-versioned/pull/541'
    label: security-advisories@github.com
  - url: 'https://github.com/silverstripe/silverstripe-versioned/releases/tag/3.2.1'
    label: security-advisories@github.com
  - url: >-
      https://github.com/silverstripe/silverstripe-versioned/security/advisories/GHSA-m4g4-86qc-v8w7
    label: security-advisories@github.com
  - url: 'https://www.silverstripe.org/download/security-releases/cve-2026-55779'
    label: security-advisories@github.com
  - url: >-
      https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/versioned/CVE-2026-55779.yaml
  - url: 'https://github.com/advisories/GHSA-m4g4-86qc-v8w7'
tags:
  - nvd
  - ghsa
  - composer
epss: 0.00194
epssPercentile: 0.09346
aliases:
  - GHSA-m4g4-86qc-v8w7
ecosystem: composer
ingestedAt: '2026-08-28T22:26:18.916Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-55779)

Affected packages:

- `silverstripe/versioned < 3.2.1`

Patched in:

- `silverstripe/versioned 3.2.1`

Source: https://github.com/advisories/GHSA-m4g4-86qc-v8w7
