CVE-2025-25197
JSON

5.4medium

Silverstripe Elemental enables XSS attacks in elemental "Content blocks in use" reports

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.32% (higher than 26% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-x8xm-c7p8-2pj2

Description

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 a single text field. 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. This vulnerability is fixed in 5.3.12.

Affected

Product or packageVersionsReported by
silverstripe silverstripe-elemental>= 2.1.2, < 5.3.12CVE List
dnadesign/silverstripe-elemental (Packagist)from 2.1.2 before 5.3.12GitHub Advisory Database

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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 a single text field. 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. This vulnerability is fixed in 5.3.12.

GitHub Advisory Database

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
NVD (es)

Silverstripe Elemental extiende un tipo de página para intercambiar el área de contenido por una lista de elementos manejables para componer una página en lugar de un solo campo de texto. Un bloque elemental puede incluir un payload XSS, que se puede ejecutar al ver el informe "Bloques de contenido en uso". La vulnerabilidad es específica de ese informe y es resultado de un fallo en la conversión de datos antes de incluirlos en el campo de la cuadrícula. Esta vulnerabilidad se corrigió en 5.3.12.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-25197 changed 2025-04-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-x8xm-c7p8-2pj2 changed 2025-04-10CC-BY-4.0
NVDCVE-2025-25197 changed 2026-06-17Public domain