MEDIUM 4.3

CVE-2026-14633: Cross-Site Scripting in Ecommerce-CodeIgniter-Bootstrap REST API

A cross-site scripting (XSS) vulnerability exists in the Ecommerce-CodeIgniter-Bootstrap project's hidden REST API endpoint at /index.php/api/product/set. An attacker can inject malicious scripts via the title or description parameters, which are then reflected back to users. This requires a user to interact with a crafted link or request, but once exploited, it allows arbitrary JavaScript execution in the victim's browser context. The vulnerability has been publicly disclosed, and the affected codebase uses a rolling release model, meaning patch deployment is version-agnostic.

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-07

NVD description (verbatim)

A vulnerability was determined in kirilkirkov Ecommerce-CodeIgniter-Bootstrap up to 49b20f53de2b7ec34e920b11c863f1491d911a04. This affects an unknown part of the file /index.php/api/product/set of the component Hidden REST API Endpoint. This manipulation of the argument title/description causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been publicly disclosed and may be utilized. This product adopts a rolling release strategy to maintain continuous delivery. Therefore, version details for affected or updated releases cannot be specified. Patch name: d9785f995da77bdc62fb2d34bad5f7a162c9ad23. To fix this issue, it is recommended to deploy a patch.

7 reference(s) · View on NVD →

SEC.co analysis · AI-assisted, reviewed against source

Technical summary

CVE-2026-14633 is an unauthenticated reflected XSS vulnerability (CWE-79) in a CodeIgniter-based e-commerce application. The flaw resides in an undocumented REST API endpoint that processes product data. The title and description parameters lack proper input validation or output encoding, permitting arbitrary HTML and JavaScript injection. The attack vector is network-based with no authentication required, though successful exploitation requires user interaction (UI:R in CVSS notation). The underlying issue also touches on code evaluation risks (CWE-94), suggesting potential for broader code execution if chained with other weaknesses. Patch d9785f995da77bdc62fb2d34bad5f7a162c9ad23 resolves the sanitization gap.

Business impact

While the CVSS score of 4.3 reflects limited direct impact, XSS vulnerabilities in API endpoints pose meaningful business risk. Customer data confidentiality is not directly threatened by this XSS, but attackers can hijack session tokens, deface content, or redirect users to phishing sites. For e-commerce platforms, this could damage customer trust and brand reputation. If the API endpoint is used internally or by admin users, the impact escalates. The public disclosure means threat actors have proof-of-concept knowledge; exploitation is likely to increase if patches remain undeployed.

Affected systems

The kirilkirkov Ecommerce-CodeIgniter-Bootstrap project is affected up to commit 49b20f53de2b7ec34e920b11c863f1491d911a04. Because this project follows a rolling release strategy rather than versioned releases, affected instances cannot be pinpointed by version number alone. Any deployment using an unpatched commit from the main branch before the patch commit d9785f995da77bdc62fb2d34bad5f7a162c9ad23 is vulnerable. Organizations running custom builds or forks of this codebase should audit their commit history to determine exposure.

Exploitability

Exploitability is straightforward from an attacker's perspective. The vulnerability requires no authentication and can be triggered via a malicious URL or form submission. A typical attack involves crafting a link with encoded XSS payload in the title or description parameter and socially engineering a user to click it. The public disclosure means attack tooling may already exist. However, exploitation does depend on user interaction—an attacker cannot silently compromise a target without their engagement. Browser-based protections (Content Security Policy, X-XSS-Protection headers) can provide some mitigation if properly configured.

Remediation

Deploy the patch identified by commit d9785f995da77bdc62fb2d34bad5f7a162c9ad23. This requires pulling the latest code from the repository and verifying the commit is integrated. Given the rolling release model, teams should establish a process to track upstream changes and apply security fixes promptly. Immediately after patching, conduct input validation audits on all API endpoints accepting user-supplied data. Implement output encoding (HTML entity encoding for HTML context) or use template engines that auto-escape by default. Enable security headers (Content-Security-Policy, X-XSS-Protection) at the application and web server level as a defense-in-depth measure.

Patch guidance

The remediation is delivered as a commit hash (d9785f995da77bdc62fb2d34bad5f7a162c9ad23) rather than a versioned release. Teams using this project should: (1) Check their current commit against the vulnerable boundary (49b20f53de2b7ec34e920b11c863f1491d911a04); (2) Merge or rebase to include the patch commit; (3) Test the application thoroughly to ensure no regressions in API functionality; (4) Deploy to production with appropriate change management. Verify against the official kirilkirkov repository to confirm commit integrity before applying. Given the rolling release nature, establish automation to monitor upstream for new patches and integrate them into your CI/CD pipeline.

Detection guidance

Monitor web server logs and application request logs for suspicious patterns in the /index.php/api/product/set endpoint. Look for requests with URL-encoded or Base64-encoded script tags, event handlers (onerror, onload), or JavaScript keywords (alert, fetch, XMLHttpRequest) in title or description parameters. Implement Web Application Firewall (WAF) rules to block requests containing common XSS payloads in these parameters. Use SIEM tooling to correlate multiple XSS attempts from the same IP or user agent, which may indicate scanning or exploitation attempts. Application-level instrumentation to log and alert on failed input validation can provide early warning.

Why prioritize this

Though the CVSS score of 4.3 suggests medium priority, several factors warrant prompt attention. First, the public disclosure substantially raises threat likelihood. Second, e-commerce platforms are frequently targeted for data theft and fraud, making XSS a foothold for follow-on attacks. Third, the API endpoint's hidden nature suggests it may be overlooked in routine security reviews, leaving it unpatched longer. Fourth, if the endpoint is accessible to authenticated users (admins or staff), the impact could be elevated. Organizations should prioritize this within a rolling security patch cycle, aiming for deployment within 30 days unless other mitigating controls are in place.

Risk score, explained

The CVSS 3.1 score of 4.3 (MEDIUM) reflects a network-accessible, unauthenticated vulnerability with low impact on confidentiality, integrity, or availability, offset by the requirement for user interaction. The score appropriately de-prioritizes direct system compromise risk. However, the score does not account for context—e-commerce exposure, public disclosure, and the tendency for XSS to serve as a pivot point for credential theft or malware delivery. Risk must be assessed in your specific environment: higher if the application processes sensitive data, lower if behind a corporate firewall with limited external access.

Frequently asked questions

Does this vulnerability allow remote code execution on the server?

No. This is a reflected XSS vulnerability that executes in the user's browser, not the server. It allows an attacker to steal session cookies or perform actions on behalf of the logged-in user, but not to directly execute arbitrary code on the backend. However, if combined with other vulnerabilities (such as insecure deserialization or unsafe file upload), the risk could escalate.

How do I know if my deployment is affected?

Check the commit hash of your current codebase against the vulnerable range (up to 49b20f53de2b7ec34e920b11c863f1491d911a04). If your commit is older than or equal to the vulnerable boundary, you are at risk. You can verify by running `git log --oneline` and searching for the patch commit (d9785f995da77bdc62fb2d34bad5f7a162c9ad23). If the patch commit is not present in your history, you need to update.

Can Content Security Policy (CSP) headers protect me until I patch?

CSP can reduce risk by restricting script execution and preventing inline script injection, but it is not a substitute for patching. A well-configured CSP header (for example, `default-src 'self'`) will block most reflected XSS payloads. However, CSP can be bypassed or misconfigured, and relying solely on headers leaves the underlying vulnerability in place. Deploy the patch as soon as practical while using CSP as a temporary additional layer.

Does this affect older or archived versions if they were never updated to the latest rolling release?

Yes. Any deployment using a commit at or before the vulnerable boundary is at risk, regardless of how long ago it was deployed. The rolling release model means security fixes are integrated into the main branch continuously, but older checkouts remain vulnerable until explicitly updated. Teams should establish a cadence for pulling security patches and testing them in a pre-production environment.

This analysis is provided for informational purposes to assist security professionals in risk assessment and remediation planning. The vulnerability details are derived from public sources and the vendor's advisory. Actual risk and remediation timelines depend on your organization's specific deployment, configuration, and threat landscape. Always verify patch applicability against your environment and the official project repository before deployment. SEC.co makes no warranty regarding the completeness or accuracy of this analysis and recommends consulting with your internal security team and the vendor for organization-specific guidance. Source: NVD (public-domain), retrieved 2026-08-13. Analysis generated by SEC.co (claude-haiku-4-5).