{"id":"GHSA-vf6x-59hh-332f","aliases":["GHSA-vf6x-59hh-332f"],"related":[],"kind":"vulnerability","state":"published","title":"Formwork has a cross-site scripting (XSS) vulnerability in Site title","summary":"### Summary\n\nThe 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.\n\n### Impact\n\nThe attack is widespread, leveraging what XSS can do. This will undoubtedly impact system availability.\n\n### Patches\n- [**Formwork 2.x** (aa3e9c6)](https://github.com/getformwork/formwork/commit/aa3e9c684035d9e8495169fde7c57d97faa3f9a2) escapes site title from panel header navigation.\n\n### Details\n\nBy 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### Summary\n\nThe 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.\n\n### Impact\n\nThe attack is widespread, leveraging what XSS can do. This will undoubtedly impact system availability.\n\n### Patches\n- [**Formwork 2.x** (aa3e9c6)](https://github.com/getformwork/formwork/commit/aa3e9c684035d9e8495169fde7c57d97faa3f9a2) escapes site title from panel header navigation.\n\n### Details\n\nBy 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.","format":"markdown","source":"ghsa"}],"published":"2025-03-01T00:11:46.000Z","modified":"2026-02-18T23:55:33.002Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:L","score":4.7,"rating":"MEDIUM"}],"cwes":["CWE-80"],"affected":[{"ranges":[{"type":"ecosystem","introduced":"2.0.0-beta.3","status":"affected","fixed":"2.0.0-beta.4"}],"ecosystem":"Packagist","package":"getformwork/formwork","purl":"pkg:composer/getformwork/formwork","source":"ghsa"}],"references":[{"url":"https://github.com/getformwork/formwork/security/advisories/GHSA-vf6x-59hh-332f","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getformwork/formwork/commit/aa3e9c684035d9e8495169fde7c57d97faa3f9a2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/getformwork/formwork","tags":["package"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vf6x-59hh-332f","url":"https://github.com/advisories/GHSA-vf6x-59hh-332f","licence":"CC-BY-4.0","modified":"2026-02-18T23:55:33.002Z"}],"updatedAt":"2026-11-25T22:56:33.100Z"}