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-113741 Overview
CVE-2026-113741 is a reflected Cross-Site Scripting (XSS) vulnerability in itsourcecode Online Cake Ordering System 1.0. The flaw resides in /404.php, where the useruid parameter is reflected without proper sanitization or output encoding. Attackers can craft a malicious URL that executes arbitrary JavaScript in the victim's browser session when visited. The issue has been publicly disclosed, and exploitation requires user interaction to open or click a crafted link. The vulnerability is tracked under CWE-79: Improper Neutralization of Input During Web Page Generation.
Critical Impact
Successful exploitation enables session hijacking, credential theft, phishing overlays, and arbitrary client-side script execution against users of the Online Cake Ordering System.
Affected Products
- itsourcecode Online Cake Ordering System 1.0
- Component: /404.php
- Vulnerable parameter: useruid
Discovery Timeline
- 2026-10-21 - CVE-2026-113741 published to NVD
- 2026-10-21 - Last updated in NVD database
- 2026-10-21 - Public disclosure recorded via VulDB Vulnerability Details and GitHub Issue Tracker
Technical Details for CVE-2026-113741
Vulnerability Analysis
The vulnerability is a reflected XSS flaw in the /404.php error-handling script of the Online Cake Ordering System. The script accepts a useruid query parameter and includes its value in the rendered HTML response. Because the application does not perform contextual output encoding or input validation on useruid, attacker-supplied markup and script are returned to the browser and executed in the application's origin. Reflected XSS in a shared e-commerce component can be leveraged for session cookie theft, forced actions on behalf of the authenticated user, and credential harvesting via injected forms. Public disclosure of the exploit raises the likelihood of opportunistic abuse against unpatched installations.
Root Cause
The root cause is missing input sanitization and output encoding when echoing the useruid request parameter inside the HTML body of /404.php. The application treats user-controlled data as trusted markup rather than untrusted text, which is the defining pattern of [CWE-79].
Attack Vector
Exploitation is network-based and requires user interaction. An attacker crafts a URL to /404.php containing a malicious payload in the useruid parameter and delivers it through phishing, chat, social media, or an attacker-controlled site. When the victim loads the link, the server returns a page that executes the injected JavaScript in the victim's browser against the application's origin. No authentication is required to generate the payload.
Technical details are documented in the GitHub Issue Tracker and the VulDB CVE Report. No verified proof-of-concept code is included here.
Detection Methods for CVE-2026-113741
Indicators of Compromise
- Web server access logs showing requests to /404.php with useruid parameter values containing HTML tags, <script>, javascript:, onerror=, onload=, or URL-encoded equivalents such as %3Cscript%3E.
- Referer headers pointing to unknown external domains that precede suspicious /404.php?useruid= requests.
- Unexpected outbound requests from client browsers to attacker-controlled hosts following visits to the application.
Detection Strategies
- Deploy a web application firewall (WAF) rule set that inspects query strings on /404.php for XSS signatures and known evasion patterns.
- Correlate HTTP request logs with browser console or CSP violation reports to surface reflected payloads that reached end users.
- Hunt historical logs for useruid values that deviate from expected formats (for example, numeric or alphanumeric identifiers).
Monitoring Recommendations
- Forward web, proxy, and WAF telemetry to a centralized analytics platform and alert on repeated encoded script fragments in URL parameters.
- Enable Content Security Policy (CSP) reporting to capture inline-script violations originating from /404.php.
- Monitor authenticated user sessions for anomalous activity shortly after visits to /404.php with non-standard parameter values.
How to Mitigate CVE-2026-113741
Immediate Actions Required
- Restrict public access to /404.php or front the application with a WAF rule that blocks script-like content in the useruid parameter.
- Apply contextual output encoding (HTML entity encoding) to any reflection of useruid in the response body.
- Validate useruid against a strict allow-list (for example, UUID or alphanumeric only) and reject non-conforming input.
Patch Information
No vendor patch has been published at the time of writing. Operators should monitor the IT Source Code Resource and the VulDB CVE Report for fix availability. Until an official update ships, apply the compensating controls below.
Workarounds
- Add a reverse-proxy or WAF rule that strips or rejects useruid values containing <, >, ", ', or javascript: sequences.
- Set the HttpOnly and Secure flags on session cookies to limit the impact of script execution.
- Deploy a restrictive Content Security Policy that disallows inline scripts and untrusted script sources.
- Educate users and administrators to avoid clicking unsolicited links referencing /404.php with query parameters.
# Example ModSecurity rule to block reflected XSS attempts against /404.php
SecRule REQUEST_URI "@beginsWith /404.php" \
"id:1026113741,phase:2,deny,status:403,log,\
msg:'CVE-2026-113741 XSS attempt on useruid',\
chain"
SecRule ARGS:useruid "@rx (?i)(<script|javascript:|onerror=|onload=|%3Cscript)" \
"t:none,t:urlDecodeUni,t:lowercase"
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

