Formwork has a cross-site scripting (XSS) vulnerability in Site title
Moderate severity
GitHub Reviewed
Published
Feb 28, 2025
in
getformwork/formwork
•
Updated Feb 18, 2026
Package
Affected versions
= 2.0.0-beta.3
Patched versions
2.0.0-beta.4
Description
Published to the GitHub Advisory Database
Mar 1, 2025
Reviewed
Mar 1, 2025
Last updated
Feb 18, 2026
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
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.
References