{"answers":{"affected":"2 open source packages ship an affected version, including getformwork/formwork. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65956 exists.","fix":"Upgrade getformwork/formwork to 2.2.0 or later.","what":"CVE-2025-65956 is a medium-severity cross-site scripting vulnerability in getformwork formwork, published on 25 Nov 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-65956 and fix it if it is affected.\n\nWhat it is: CVE-2025-65956 is a medium-severity cross-site scripting vulnerability in getformwork formwork, published on 25 Nov 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-65956 exists.\n\nAffected packages and fixed versions:\n- getformwork/formwork (Packagist): affected all versions; fixed in 2.2.0\n- getformwork/formwork (Packagist): affected all versions; fixed in 2.2.0\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/CVE-2025-65956/ (Markdown: https://insights.sbomify.com/CVE-2025-65956/index.md)","id":"CVE-2025-65956","markdown":"https://insights.sbomify.com/CVE-2025-65956/index.md","name":"CVE-2025-65956","record":{"aliases":["GHSA-7j46-f57w-76pj"],"analysis":{"component_type":"cms_plugin","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Formwork CMS","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via blog tags, leading to code execution in the browsers of authenticated users, including administrators.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"formwork","vendor":"formwork_project"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Formwork is a flat file-based Content Management System (CMS). Prior to version 2.2.0, inserting unsanitized data into the blog tag field results in stored cross‑site scripting (XSS). Any user with credentials to the Formwork CMS who accesses or edits an affected blog post will have attacker‑controlled script executed in their browser. The issue is persistent and impacts privileged administrative workflows. This issue has been patched in version 2.2.0.","ecosystems":["Packagist"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Formwork CMS Has a Stored Cross-Site Scripting (XSS) Vulnerability in Blog Tags","id":"CVE-2025-65956","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Packagist","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":2,"n_references":3,"next":{"headline":"Core Bot is Leaking Sensitive Credentials in Logs, Errors, and Messages","id":"CVE-2025-65957"},"packages":[{"ecosystem":"Packagist","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"getformwork/formwork","purl":null,"source":"GHSA-7j46-f57w-76pj"},{"ecosystem":"Packagist","fixed":["2.2.0"],"introduced":["0"],"last_affected":[],"package":"getformwork/formwork","purl":"pkg:composer/getformwork/formwork","source":"GHSA-7j46-f57w-76pj"}],"prev":{"headline":"ImageMagick has a use-after-free/double-free risk in Options::fontFamily when clearing family","id":"CVE-2025-65955"},"products":["formwork"],"published":"2025-11-25","related":[{"cvss_score":8.8,"headline":"Formwork Improperly Manages Privileges During User Creation","id":"CVE-2026-27198","kev_date_added":null,"published":"2026-02-21"},{"cvss_score":4.8,"headline":"Formwork has a Cross-site scripting (XSS) vulnerability in Description metadata","id":"CVE-2024-37160","kev_date_added":null,"published":"2024-06-07"},{"cvss_score":4.8,"headline":"Formwork Cross-site Scripting (XSS) from Page title field","id":"CVE-2023-24230","kev_date_added":null,"published":"2023-02-10"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-26","vendors":["getformwork"]},"summary":"Attackers can inject malicious scripts via blog tags, leading to code execution in the browsers of authenticated users, including administrators.","url":"https://insights.sbomify.com/CVE-2025-65956/"}