# GHSA-vf6x-59hh-332f: Formwork has a cross-site scripting (XSS) vulnerability in Site title

- Severity: Medium 4.7 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-03-01T00:11:46.000Z
- Modified: 2026-02-18T23:55:33.002Z
- Weaknesses: CWE-80

## Description

### 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)](https://github.com/getformwork/formwork/commit/aa3e9c684035d9e8495169fde7c57d97faa3f9a2) 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.

(As written by GitHub Advisory Database.)

## Affected

- getformwork/formwork (Packagist): from 2.0.0-beta.3 before 2.0.0-beta.4

## References

- <https://github.com/getformwork/formwork/security/advisories/GHSA-vf6x-59hh-332f> (web)
- <https://github.com/getformwork/formwork/commit/aa3e9c684035d9e8495169fde7c57d97faa3f9a2> (web)
- <https://github.com/getformwork/formwork> (package)

## Sources

- GitHub Advisory Database: [GHSA-vf6x-59hh-332f](https://github.com/advisories/GHSA-vf6x-59hh-332f), CC-BY-4.0, modified 2026-02-18

---

Page: https://cve.day/GHSA-vf6x-59hh-332f · Whole record: https://cve.day/GHSA-vf6x-59hh-332f.json · Rebuilt by cve.day 2026-11-25T22:56:33.100Z
