---
id: CVE-2021-47923
title: >-
  OpenCart 3.0.3.8 contains a session fixation vulnerability that allows
  attackers to hijack user sessions by injecting arbitrary values into the
  OCSESSID cookie
summary: >-
  OpenCart 3.0.3.8 contains a session fixation vulnerability that allows
  attackers to hijack user sessions by injecting arbitrary values into the
  OCSESSID cookie. Attackers can set malicious OCSESSID cookie values that the
  server accepts a…
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-290
published: '2026-05-10'
updated: '2026-10-06'
sourceUpdated: '2026-10-06T22:10:00.247'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2021-47923'
references:
  - url: 'https://www.exploit-db.com/exploits/50555'
    label: disclosure@vulncheck.com
  - url: 'https://www.opencart.com/'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/opencart-session-fixation-via-ocsessid-cookie
    label: disclosure@vulncheck.com
tags:
  - nvd
epss: 0.00423
epssPercentile: 0.34489
ingestedAt: '2026-10-06T22:23:15.920Z'
---

## Overview

OpenCart 3.0.3.8 contains a session fixation vulnerability that allows attackers to hijack user sessions by injecting arbitrary values into the OCSESSID cookie. Attackers can set malicious OCSESSID cookie values that the server accepts and maintains, enabling session takeover and unauthorized access to user accounts.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
