Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. solspace/craft-freeform
  4. ›
  5. GHSA-44jg-mv3h-wj6g

GHSA-44jg-mv3h-wj6g: solspace/craft-freeform Vulnerable to XSS in `PhpSpreadsheet` HTML Writer Due to Unsanitized Styling Data

January 15, 2026

Short summary of the problem. Make the impact and severity as clear as possible. For example: An unsafe deserialization vulnerability allows any unauthenticated user to execute arbitrary code on the server.

\PhpOffice\PhpSpreadsheet\Writer\Html doesn’t sanitize spreadsheet styling information such as font names, allowing an attacker to inject arbitrary JavaScript on the page.

References

  • github.com/PHPOffice/PhpSpreadsheet/security/advisories/GHSA-wgmf-q9vr-vww6
  • github.com/advisories/GHSA-44jg-mv3h-wj6g
  • github.com/solspace/craft-freeform
  • github.com/solspace/craft-freeform/releases/tag/v4.1.23
  • github.com/solspace/craft-freeform/security/advisories/GHSA-44jg-mv3h-wj6g

Code Behaviors & Features

Detect and mitigate GHSA-44jg-mv3h-wj6g 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 4.1.23

Fixed versions

  • 4.1.23

Solution

Upgrade to version 4.1.23 or above.

Impact 4.6 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/solspace/craft-freeform/GHSA-44jg-mv3h-wj6g.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 04 Feb 2026 00:35:34 +0000.