# CVE-2026-115453: Cross user deletion and modification of cart and wishlist rows in Ecommerce Template through unscoped primary key queries

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: Low; User interaction: None; Confidentiality impact: Low; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.39% (percentile 24, 2026-11-28)
- **CWE:** CWE-639
- **Published:** 2026-10-22T15:22:09.445Z
- **Modified:** 2026-10-30T19:18:12.443Z

## Who should check

- Anyone running MarcosCamara01 Ecommerce Template \>= b139a11c7bfab82b9c54c738b9a5d6015b439972, \< adf7dedbb41894c0bad0b33a26999b0da7e967b7

## Description

Authorization Bypass Through User-Controlled Key (CWE-639) in the cart and wishlist repositories of MarcosCamara01 Ecommerce Template allows any authenticated user to delete and modify the cart and wishlist rows of any other user, because cartRepository.delete(), cartRepository.updateQuantityInternal() and wishlistRepository.delete() in src/lib/db/drizzle/repositories/ match rows by primary key alone, with no predicate on the owning user, and the per user authorization for those three operations rests on PostgreSQL row level security. The migrations run ALTER TABLE ... ENABLE ROW LEVEL SECURITY and create policies comparing app.current\_user\_id() with user\_id, but never ALTER TABLE ... FORCE ROW LEVEL SECURITY, and PostgreSQL does not apply policies to the role that owns a table. The template uses one DATABASE\_URL both to run the migrations, which create the tables, and for the application at runtime, so the application connects as the owner of the tables and the policies do not apply to it. cart\_items.id and wishlist.id are sequential bigserial values, so the identifiers of rows belonging to other users can be enumerated, and the update path returns the modified row, which carries the identifier of the user it belongs to. This results in the destruction and modification of cart and wishlist contents belonging to other accounts of the installation.

## Affected and fixed versions

- MarcosCamara01 Ecommerce Template: \>= b139a11c7bfab82b9c54c738b9a5d6015b439972, \< adf7dedbb41894c0bad0b33a26999b0da7e967b7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-115453. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-115453.md
Affected: MarcosCamara01 Ecommerce Template >= b139a11c7bfab82b9c54c738b9a5d6015b439972, < adf7dedbb41894c0bad0b33a26999b0da7e967b7
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for MarcosCamara01 Ecommerce Template: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-115453 being exploited?

There is no confirmed exploitation: CVE-2026-115453 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-115453?

High: CVSS 7.1 (v4.0, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-115453?

MarcosCamara01 Ecommerce Template \>= b139a11c7bfab82b9c54c738b9a5d6015b439972, \< adf7dedbb41894c0bad0b33a26999b0da7e967b7.

### Is there a fix for CVE-2026-115453?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-115453?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://github.com/MarcosCamara01/ecommerce-template/commit/adf7dedbb41894c0bad0b33a26999b0da7e967b7>
- article: <https://secur0.com/en/cna/cve-list/cve-2026-115453-cross-user-cart-wishlist-idor>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-115453>

HTML: <https://flawdb.com/CVE-2026-115453> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-115453>
