Skip to content
Heist/ feed
Back to feed
Medium

Potential Information exposure in the upload directory in PrestaShop

Type: advisorySources: OSV

PrestaShop is an open-source e-commerce solution. Versions prior to 1.7.8.8 did not properly restrict host filesystem access for users. Users may have been able to view the contents of the upload directory without appropriate permissions. This issue has been addressed and users are advised to upgrade to version 1.7.8.8. There are no known workarounds for this issue.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-46158
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 03:59 UTC · Revision 1

Source evidence

Potential Information exposure in the upload directory in PrestaShop

core-osv · Original source

Published 8 Dec 2022, 21:50 UTC

PrestaShop is an open-source e-commerce solution. Versions prior to 1.7.8.8 did not properly restrict host filesystem access for users. Users may have been able to view the contents of the upload directory without appropriate permissions. This issue has been addressed and users are advised to upgrade to version 1.7.8.8. There are no known workarounds for this issue.

osv:CVE-2022-46158
Complete source record
{
  "id": "d6de49870225c3bcf35fa0779359fd69008b764a66e3434bfa66c0f35fb2545a",
  "url": "https://osv.dev/vulnerability/CVE-2022-46158",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Potential Information exposure in the upload directory in PrestaShop",
    "summary": "PrestaShop is an open-source e-commerce solution. Versions prior to 1.7.8.8 did not properly restrict host filesystem access for users. Users may have been able to view the contents of the upload directory without appropriate permissions. This issue has been addressed and users are advised to upgrade to version 1.7.8.8. There are no known workarounds for this issue.",
    "evidence": "osv:CVE-2022-46158",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2022-46158",
      "aliases": [
        "CVE-2022-46158",
        "GHSA-9qgp-9wwc-v29r"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/prestashop/prestashop",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "573839a859c92675af2d5482a3618426efad6ca1"
                },
                {
                  "fixed": "8684d429fb7c3bb51efb098e8b92a1fd2958f8cf"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:prestashop:prestashop:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.7.8.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "8684d429fb7c3bb51efb098e8b92a1fd2958f8cf"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.7.8.3",
            "1.7.0.0-rc.0.0",
            "1.7.0.0-beta.4.0",
            "1.7.0.0-beta.2.0",
            "1.7.0.0-beta.1.0",
            "1.6.1.0",
            "1.6.0.3",
            "1.6.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-46158.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.121938626Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46158.json",
        "https://github.com/PrestaShop/PrestaShop/security/advisories/GHSA-9qgp-9wwc-v29r",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-46158",
        "https://github.com/PrestaShop/PrestaShop/commit/8684d429fb7c3bb51efb098e8b92a1fd2958f8cf"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-200"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/46xxx/CVE-2022-46158.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-46158",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510071,
  "published_at": "2022-12-08T21:50:44.155+00:00"
}