{"answers":{"affected":"2 open source packages ship an affected version, including getformwork/formwork.","exploited":"There is no known exploitation of GHSA-vf6x-59hh-332f in the wild and no public exploit code.","fix":"Upgrade getformwork/formwork to 2.0.0-beta.4 or later.","what":"GHSA-vf6x-59hh-332f is a cross-site scripting vulnerability in getformwork/formwork, published on 1 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-vf6x-59hh-332f and fix it if it is affected.\n\nWhat it is: GHSA-vf6x-59hh-332f is a cross-site scripting vulnerability in getformwork/formwork, published on 1 Mar 2025. An attacker needs administrator access to exploit it, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-vf6x-59hh-332f in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- getformwork/formwork (Packagist): affected from 2.0.0-beta.3; fixed in 2.0.0-beta.4\n- getformwork/formwork (Packagist): affected from 2.0.0-beta.3; fixed in 2.0.0-beta.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-vf6x-59hh-332f/ (Markdown: https://insights.sbomify.com/GHSA-vf6x-59hh-332f/index.md)","id":"GHSA-vf6x-59hh-332f","markdown":"https://insights.sbomify.com/GHSA-vf6x-59hh-332f/index.md","name":"GHSA-vf6x-59hh-332f","record":{"aliases":[],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Formwork CMS","requires_auth":"high_privilege","summary":"Admins can inject JavaScript into the site title, causing XSS attacks and potential denial of service for all users.","user_interaction":"not_required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### 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 \"\u003c!--\", 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.","ecosystems":["Packagist"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"Formwork has a cross-site scripting (XSS) vulnerability in Site title","id":"GHSA-vf6x-59hh-332f","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"Packagist","fixed":["2.0.0-beta.4"],"introduced":["2.0.0-beta.3"],"last_affected":[],"package":"getformwork/formwork","purl":null,"source":"GHSA-vf6x-59hh-332f"},{"ecosystem":"Packagist","fixed":["2.0.0-beta.4"],"introduced":["2.0.0-beta.3"],"last_affected":[],"package":"getformwork/formwork","purl":"pkg:composer/getformwork/formwork","source":"GHSA-vf6x-59hh-332f"}],"products":null,"published":"2025-03-01","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Admins can inject JavaScript into the site title, causing XSS attacks and potential denial of service for all users.","url":"https://insights.sbomify.com/GHSA-vf6x-59hh-332f/"}