Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. silverstripe/framework
  4. ›
  5. SS-2016-013

SS-2016-013: Member.Name isn't escaped

August 15, 2016

The core template framework/templates/Includes/GridField_print.ss uses “Printed by $Member.Name”. If the currently logged in members first name or surname contain XSS, this prints the raw HTML out, because Member->getName() just returns the raw FirstName + Surname as a string, which is injected directly.

References

  • www.silverstripe.org/download/security-releases/ss-2016-013/

Code Behaviors & Features

Detect and mitigate SS-2016-013 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.1.20, all versions starting from 3.2.0-alpha0 before 3.2.5, all versions starting from 3.3.0-alpha0 before 3.3.3, all versions starting from 3.4.0-alpha0 before 3.4.1

Fixed versions

  • 3.1.20
  • 3.2.5
  • 3.3.3
  • 3.4.1

Solution

Upgrade to versions 3.1.20, 3.2.5, 3.3.3, 3.4.1 or above.

Source file

packagist/silverstripe/framework/SS-2016-013.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:13 +0000.