CVE-2026-105950 Details
Description
A security vulnerability has been detected in getformwork formwork up to 2.3.12. Impacted is the function DomSanitizer::sanitizeNodeAttribute of the file formwork/src/Sanitizer/DomSanitizer.php of the component URI Sanitizer. Such manipulation of the argument formaction leads to cross site scripting. The attack may be launched remotely. Upgrading to version 2.3.13 is recommended to address this issue. The name of the patch is 729701e59c5886685c5a1d477bdc3035e41f18b1. Upgrading the affected component is advised.
A cross-site scripting vulnerability has been identified in Getformwork Formwork versions through 2.3.12. The issue arises in the DomSanitizer::sanitizeNodeAttribute function within the file formwork/src/Sanitizer/DomSanitizer.php. The vulnerability allows remote attackers to manipulate the formaction attribute, bypassing URI scheme validation and executing malicious JavaScript. This issue can be exploited by authenticated content editors when 'pages.content.allowHtml' is enabled, storing crafted buttons that execute JavaScript when activated.
Users are advised to upgrade to Getformwork Formwork version 2.3.13 or later, which addresses this vulnerability by including the formaction attribute in the list recognized by the sanitizer.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 6, 2026CISA-ADP
Assessed Oct 6, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/getformwork/formwork/ | [email protected] | Vendor |
| https://github.com/getformwork/formwork/commit/729701e59c5886685c5a1d477bdc3035e41f18b1 | [email protected] | Source CodeVendor |
| https://github.com/getformwork/formwork/pull/940 | [email protected] | Issue TrackingVendor |
| https://github.com/getformwork/formwork/releases/tag/2.3.13 | [email protected] | Release NotesVendor |
| https://github.com/getformwork/formwork/security/advisories/GHSA-p78q-v3pr-p87j | [email protected] | AdvisoryRemedyVendor |
| https://vuldb.com/cve/CVE-2026-105950 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/992820 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/413925 | [email protected] | BundlePermission Required |
| https://vuldb.com/vuln/413925/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| getformwork/formwork | >= 2.0.0, <= 2.3.12 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 6, 2026 | CVE Modified | CISA-ADP |
| Oct 6, 2026 | New CVE Received | [email protected] |
Volerion