GitHub Advisoryadvisory · Packagist

GHSA-x8xm-c7p8-2pj2 Silverstripe cross-site scripting (XSS) attack in elemental "Content blocks in use" report

MEDIUM Published 2025-04-10 Modified 2025-04-10 Official page ↗
Aliases
CVE-2025-25197
Ecosystem
Packagist
Packages
dnadesign/silverstripe-elemental
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2025-04-10

Affected packages

• Packagist dnadesign/silverstripe-elemental: >= 2.1.2, < 5.3.12 → fixed in 5.3.12

Description

An elemental block can include an XSS payload, which can be executed when viewing the "Content blocks in use" report. The vulnerability is specific to that report and is a result of failure to cast input prior to including it in the grid field. References • https://www.silverstripe.org/download/security-releases/CVE-2025-25197

Related

Alias · CVE (1)

  • CVE-2025-25197 Silverstripe Elemental extends a page type to swap the content area for a list of manageable elements to compose a page out of rather than… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References