CVE-2026-105950

getformwork URI Sanitizer DomSanitizer.php sanitizeNodeAttribute cross site scripting

Published Oct 6, 2026 CVSS 4.0 · 5.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

A cross‑site scripting flaw exists in the DomSanitizer component of Formwork, allowing an attacker to inject malicious content through the formaction attribute during node sanitization. The vulnerability can be triggered remotely and could lead to session hijacking, data theft or defacement of the web application.

Affected Systems

The issue affects Getformwork Formwork installations up to and including version 2.3.12. The vulnerable code resides in formwork/src/Sanitizer/DomSanitizer.php within the URI Sanitizer module. Version 2.3.13 contains the patch that rectifies the sanitization logic.

Risk and Exploitability

The CVSS score of 5.1 indicates a moderate severity. EPSS data is not available, and the vulnerability is not listed in the CISA KEV catalog. Because the exploit can be launched remotely, the attack vector is likely through a crafted request to a Formwork instance that processes untrusted form actions. The overall risk is considered moderate, requiring timely mitigation to prevent client‑side compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑released Formwork 2.3.13 update which replaces the affected DomSanitizer logic.
  • Deploy the updated version in all production and staging environments to stop the XSS vector.
  • Implement additional checks or a whitelist for form action values to further limit the possibility of malicious input.

Generated by OpenCVE AI on October 6, 2026 at 18:07 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title getformwork URI Sanitizer DomSanitizer.php sanitizeNodeAttribute cross site scripting
First Time appeared Getformwork
Getformwork formwork
Weaknesses CWE-79
CWE-94
CPEs cpe:2.3:a:getformwork:formwork:*:*:*:*:*:*:*:*
Vendors & Products Getformwork
Getformwork formwork
References
Metrics cvssV2_0

{'score': 4, 'vector': 'AV:N/AC:L/Au:S/C:N/I:P/A:N/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 3.5, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 3.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:N/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 5.1, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:X'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Oct 6, 2026, 5:20 PM
Reserved
Oct 6, 2026, 8:04 AM
Status
Deferred
Published
Oct 6, 2026, 4:17 PM
Modified
Oct 6, 2026, 6:16 PM