p PatchFirst

GHSA-r9vp-fp72-xgf7

GHSA-r9vp-fp72-xgf7 · silverstripe/framework's `Member.Name` is not escaped

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.4 · Medium · Fix available

Published
Updated

Stack: php

Affected products and versions

  • silverstripe/framework Packagist

    Versions
    • 3.1.10
    • 3.1.10-rc1
    • 3.1.10-rc2
    • 3.1.11
    • 3.1.11-rc1
    • 3.1.12
    • 3.1.13
    • 3.1.13-rc1
    • 3.1.14
    • 3.1.14-rc1
    • 3.1.15
    • 3.1.16
    • 3.1.16-rc1
    • 3.1.17
    • 3.1.17-rc1
    • 3.1.17-rc2
    • 3.1.18
    • 3.1.18-rc1
    • 3.1.18-rc2
    • 3.1.19
    • 3.1.19-rc1
    • 3.1.20-rc1
    • 3.1.20-rc2
    • 3.1.9
    • 3.1.9-rc1
    Affected ranges
    • ECOSYSTEM: ≥ 3.1.9-rc1, < 3.1.20

    Update to 3.1.20

  • silverstripe/framework Packagist

    Versions
    • 3.2.4
    • 3.2.4-rc1
    • 3.2.5-rc1
    • 3.2.5-rc2
    Affected ranges
    • ECOSYSTEM: ≥ 3.2.4-rc1, < 3.2.5

    Update to 3.2.5

  • silverstripe/framework Packagist

    Versions
    • 3.3.2
    • 3.3.2-rc1
    • 3.3.3-rc1
    • 3.3.3-rc2
    Affected ranges
    • ECOSYSTEM: ≥ 3.3.2-rc1, < 3.3.3

    Update to 3.3.3

  • silverstripe/framework Packagist

    Versions
    • 3.4.0
    • 3.4.0-rc1
    • 3.4.1-rc1
    • 3.4.1-rc2
    Affected ranges
    • ECOSYSTEM: ≥ 3.4.0-rc1, < 3.4.1

    Update to 3.4.1

Original sources

Check your server →