GitHub Advisoryadvisory · Packagist
GHSA-6hh6-59j2-qrxw Silverstripe History XSS Vulnerability
MEDIUM
Official page ↗
- Ecosystem
- Packagist
- Packages
- silverstripe/cms
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2024-05-22
Affected packages
• Packagist silverstripe/cms: >= 3.1.0, < 3.1.10 → fixed in 3.1.10
Description
A cross-site scripting vulnerability has been discovered in the CMS page history tab.
This vulnerability can only be exploited if a user with CMS access has posted malicious or unescaped HTML into any of the text fields on a page, and if the "compare mode" option is selected. The HTML will be embedded into the page unescaped.
This has been resolved by performing the text comparison in a HTML friendly way.
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness