CVE-2026-14634: User-Agent XSS in Ecommerce-CodeIgniter-Bootstrap Admin Panel
A cross-site scripting (XSS) vulnerability exists in the Ecommerce-CodeIgniter-Bootstrap project affecting the Subscribed Emails Admin Page. An attacker can manipulate the User-Agent header to inject malicious scripts that execute in the context of an administrator's browser session. The vulnerability requires user interaction (an admin must visit a page with the malicious header present) and does not allow unauthorized data access or system availability impact, but could enable account compromise or administrative action abuse. Proof-of-concept code is publicly available, elevating the practical risk despite the CVSS medium rating.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 4.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-79, CWE-94
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-04 / 2026-07-06
NVD description (verbatim)
A vulnerability was identified in kirilkirkov Ecommerce-CodeIgniter-Bootstrap up to 213babdbaa949e94557246414db0130e01394517. This vulnerability affects the function checkForPostRequests of the file application/core/MY_Controller.php of the component Subscribed Emails Admin Page. Such manipulation of the argument User-Agent leads to cross site scripting. The attack may be performed from remote. The exploit is publicly available and might be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed. The name of the patch is 23105f25dadf57b4314fc015a63a7c6e910c89df. It is advisable to implement a patch to correct this issue.
7 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability resides in the checkForPostRequests function within application/core/MY_Controller.php. The component fails to properly sanitize the User-Agent header before reflecting it in responses to the Subscribed Emails Admin Page. This classic reflected XSS flaw (CWE-79) allows crafted requests to execute arbitrary JavaScript in a victim administrator's session. The affected version extends up to commit 213babdbaa949e94557246414db0130e01394517. Because the project uses continuous delivery without discrete versioning, the patch commit hash 23105f25dadf57b4314fc015a63a7c6e910c89df should be verified as the remediation point in the source repository.
Business impact
Admin accounts using this ecommerce platform face session hijacking, unauthorized configuration changes, and potential customer data exposure through account compromise. While direct data loss or system outage is unlikely, an attacker could modify email subscription settings, redirect communications, or escalate privileges within the application. For organizations relying on this CodeIgniter-based store, this represents an insider-threat vector if admins browse untrusted links or if attacker-controlled referrers inject the payload.
Affected systems
The kirilkirkov Ecommerce-CodeIgniter-Bootstrap project is affected up to commit 213babdbaa949e94557246414db0130e01394517. The component Subscribed Emails Admin Page is the primary attack surface. Because this project follows a rolling release model without traditional versioning, affected installations are those that have not yet pulled the patch commit 23105f25dadf57b4314fc015a63a7c6e910c89df or later from the repository. Any environment with this codebase deployed to a version prior to the patch is vulnerable.
Exploitability
Exploitability is moderate to high in practice. The vulnerability requires no authentication to craft the malicious request, but does require user interaction—specifically, an administrator must access the page with the attacker-controlled User-Agent header. Public exploit code is available, removing the barrier to weaponization. A realistic attack vector includes phishing an admin with a specially crafted link or embedding a malicious User-Agent in a referrer. The low complexity and remote attack surface make this practical for opportunistic adversaries targeting ecommerce platforms.
Remediation
Apply the patch identified by commit hash 23105f25dadf57b4314fc015a63a7c6e910c89df. Because this project uses continuous delivery, update your local copy to include this commit or any version beyond it. The fix likely involves proper input validation and output encoding of the User-Agent header in the checkForPostRequests function and anywhere user-supplied headers are reflected. Verify the patch against the project's source repository (typically GitHub for open-source CodeIgniter projects) before deploying to production.
Patch guidance
Fetch the latest code from the kirilkirkov Ecommerce-CodeIgniter-Bootstrap repository and verify that commit 23105f25dadf57b4314fc015a63a7c6e910c89df or a later commit is present in your branch. If your codebase is pinned to an older state, cherry-pick this commit or pull the latest main/master branch. Test the patch in a staging environment to ensure the Subscribed Emails Admin Page functions correctly and that User-Agent headers are no longer reflected in HTML responses without encoding. Perform a code review of the MY_Controller.php file to confirm that all header inputs are sanitized consistently across the application.
Detection guidance
Monitor HTTP logs for User-Agent headers containing script tags (e.g., <script>, javascript:, onerror=, onload=) directed at paths containing 'email' or 'admin' and the MY_Controller endpoint. Implement Web Application Firewall (WAF) rules to block or alert on User-Agent payloads matching common XSS patterns. On the application side, enable verbose logging of admin page access and correlate anomalous User-Agent values with admin session activity. Endpoint Detection and Response (EDR) tools should flag unexpected JavaScript execution in browsers used by administrative staff.
Why prioritize this
This vulnerability merits prompt patching within 30 days despite its CVSS 4.3 medium score. The public availability of exploit code and the practical ease of exploitation combine with the attack surface (admin interfaces) and business impact (account compromise) to elevate real-world risk. Organizations operating ecommerce sites cannot tolerate admin account takeover. The rolling-release model also means that unpatched instances persist indefinitely unless actively updated—creating a long tail of vulnerable deployments.
Risk score, explained
The CVSS 4.3 medium severity reflects the limited scope (integrity only, no confidentiality or availability loss) and the requirement for user interaction. However, the actual risk is amplified by public exploitability, targeting of high-privilege accounts (admins), and the nature of open-source rolling-release adoption patterns. A busy security team should weight this as high-priority for admin-facing systems, even though the numerical CVSS is medium.
Frequently asked questions
Can this vulnerability steal customer data directly?
No. The vulnerability allows code execution in an administrator's browser session, not direct access to the database. However, an attacker with a compromised admin session could change settings or export customer data, creating indirect data loss risk.
Do we need to restart services or take downtime to patch?
No. Since this is a code-level fix, you can deploy the patched files without a service restart in most cases. However, test thoroughly in a staging environment first, as the fix modifies request handling in MY_Controller.php.
How do we know if our version is vulnerable?
Check your local Git commit history for the presence of commit 23105f25dadf57b4314fc015a63a7c6e910c89df. If your codebase is at an earlier commit than this patch, you are vulnerable. If you are unsure, run a manual code review of application/core/MY_Controller.php to see if the checkForPostRequests function sanitizes the User-Agent header.
Is this in active use by attackers in the wild?
The vulnerability was published on 2026-07-04, and exploit code is publicly available. This elevates the likelihood of opportunistic exploitation, particularly if your platform is indexed by search engines or listed in public git instances. Monitor your logs for User-Agent-based XSS attempts immediately.
This analysis is based on the CVE record as of 2026-07-06 and publicly available information. Version numbers and patch details are sourced from the CVE description and vendor advisories; verify against the official kirilkirkov repository before deploying patches. CVSS scores reflect the base technical metric and do not account for your organization's specific environment, threat landscape, or compensating controls. No exploit code or proof-of-concept steps are provided in this report. Organizations must conduct their own risk assessment and patch testing before implementing remediation in production environments. Source: NVD (public-domain), retrieved 2026-08-13. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-10153MEDIUMCross-Site Scripting in westboy CicadasCMS Search Function
- CVE-2026-10173MEDIUMCross-Site Scripting in Orthanc Explorer 2 – Patch Guidance & Detection
- CVE-2026-10289MEDIUMXSS Vulnerability in Hotel and Tourism Reservation System 1.0
- CVE-2026-10301MEDIUMReflected XSS in itsourcecode Fees Management System 1.0 – Exploit Public
- CVE-2026-10810MEDIUMCross-Site Scripting in itsourcecode Fees Management System v1.0
- CVE-2026-11337MEDIUMReflected XSS in tittuvarghese CollegeManagementSystem – Risk Analysis & Remediation
- CVE-2026-11436MEDIUMReflected XSS in Mage AI Sign-In Flow (v0.9.79 and Earlier)
- CVE-2026-11512MEDIUMXSS in itsourcecode Hospital Management System 1.0 Billing Module