GHSA-vf6x-59hh-332f: Formwork has a cross-site scripting (XSS) vulnerability in Site title
Summary The site title field at /panel/options/site/allows embedding JS tags, which can be used to attack all members of the system. This is a widespread attack and can cause significant damage if there is a considerable number of users. Impact The attack is widespread, leveraging what XSS can do. This will undoubtedly impact system availability.
Published Mar 1, 2025 · Updated Feb 18, 2026
Affected packages
getformwork/formwork
- Ecosystem
- Composer (PHP)
- Affected
- = 2.0.0-beta.3
- Fixed in
- 2.0.0-beta.4
- Check
composer show getformwork/formwork
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
The site title field at /panel/options/site/allows embedding JS tags, which can be used to attack all members of the system. This is a widespread attack and can cause significant damage if there is a considerable number of users.
Impact
The attack is widespread, leveraging what XSS can do. This will undoubtedly impact system availability.
Patches
- **Formwork 2.x** (aa3e9c6) escapes site title from panel header navigation.
Details
By embedding "<!--", the source code can be rendered non-functional, significantly impacting system availability. However, the attacker would need admin privileges, making the attack more difficult to execute.
Credited to Kyokito1412.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2026-27198
Formwork Improperly Managed Privileges in User creation
high8.8Feb 19, 2026CVE-2025-65956
Formwork CMS has Stored Cross-Site Scripting Vulnerebility in Blog Tags
medium6.5Nov 24, 2025GHSA-c85w-x26q-ch87
Formwork improperly validates input of User role preventing site and panel availability
high8.2Mar 1, 2025CVE-2024-37160
Cross-site scripting (XSS) vulnerability in Description metadata
medium4.8Jun 7, 2024CVE-2024-35621
formwork Cross-site scripting vulnerability in Markdown fields
medium4.8May 28, 2024
