CVE-2023-24230 Formwork Cross-site Scripting (XSS) from Page title field
Attackers can execute arbitrary scripts via stored XSS in the Page title parameter of the Formwork dashboard.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2023-24230?
CVE-2023-24230 is a medium-severity cross-site scripting vulnerability in n/a, published on 10 Feb 2023. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
A stored cross-site scripting (XSS) vulnerability in the component /formwork/panel/dashboard of Formwork v1.12.1 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the Page title parameter.
Weakness: CWE-79
Which versions are affected by CVE-2023-24230?
2 open source packages ship an affected version, including getformwork/formwork. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
getformwork/formwork Packagist | All versions | 1.13.0 |
getformwork/formwork Packagist | All versions | 1.13.0 |
Products include Formwork Project Formwork.
How do I fix CVE-2023-24230?
Upgrade getformwork/formwork to 1.13.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2023-24230 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-24230 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-fvrh-wrpf-6q7h.