CVE-2024-35191: Formie - Stored XSS
- Cve: CVE-2024-35191
- Name: Formie - Stored XSS
- Description: Formie is a Craft CMS plugin for creating forms. Prior to 2.1.6, users with access to a form's settings can include malicious Twig code into fields that support Twig. These might be the Submission Title or the Success Message. This code will then be executed upon creating a submission, or rendering the text. This has been fixed in Formie 2.1.6.
- Impact: Attackers can execute arbitrary code or scripts in the context of the affected site, leading to potential data theft or site compromise.
- Remediation: Update to version 2.1.6 or later.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: logged_in
- Requirements: Attacker needs access to form settings
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.4
- Cvss vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00253
- Epss percentile: 0.16971
- Assignee: [email protected]
- Published at: 2024-05-20T21:15:09Z
- Age in days: 918
- Modified at: 2026-06-17T07:34:30Z
- Patch available: yes
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-35191
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-1336 | Improper Neutralization of Special Elements Used in a Template Engine |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/verbb/formie/commit/90296edf7e707f117e760aa57e70dbd43a854420 | nvd | Patch |
| https://github.com/verbb/formie/security/advisories/GHSA-v45m-hxqp-fwf5 | nvd | Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| verbb:formie | >= 2.1.0, < 2.1.6; < 2.0.44 | no | nvd | /v1/products/verbb/formie |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| verbb/formie | commit, fix, package, security_advisory | yes | /v1/repositories/verbb/formie |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts