Formwork Cross-site Scripting (XSS) from Page title fieldGHSA-fvrh-wrpf-6q7h
MEDIUMFix: getformwork/formwork@8781ee1GHSA-fvrh-wrpf-6q7h is a medium-severity (CVSS 4.8) Cross-site Scripting (XSS) vulnerability in getformwork/formwork. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for getformwork/formwork — see the affected versions and patch details below.
Exploitation Status
Proof-of-concept exploit code exists
- CISA’s SSVC triage found public proof-of-concept exploit code for this CVE, though no confirmed active exploitation.
Exploitation and automatability from CISA’s SSVC triage for GHSA-fvrh-wrpf-6q7h.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
getformwork/formworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
Description
A stored cross-site scripting (XSS) vulnerability in Formwork v1.12.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Page title field.
Only users with access to Administration Panel with page editing permission can inject raw HTML in the Page title field.
Patched versions
This vulnerability has been patched in Formwork 1.13.0.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | getformwork/formwork | all versions | 1.13.0composer require getformwork/formwork:^1.13.0 |
Affected Products
formworkformwork_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for getformwork/formwork, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update getformwork/formwork to 1.13.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-fvrh-wrpf-6q7h is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is GHSA-fvrh-wrpf-6q7h in your dependencies?
Find it across Packagist, including transitive dependencies.