nday
CVE-2022-4140

Welcart e-Commerce < 2.8.5 - Unauthenticated Arbitrary File Access

Unknown / Welcart e-Commerce

A public PoC appeared 1,344 days after disclosure. nday has no fix record for it yet; that does not mean no patch exists. Listed by 3 of 4 PoC sources: metasploit, nuclei, and github. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

information disclosure
CWE-552, stated by the CNA WPScan
remote, unauthenticated
AV:N, PR:N, UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the ADP CISA-ADP
network
AV:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the ADP CISA-ADP
no authentication required
PR:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the ADP CISA-ADP
no user interaction
UI:N in CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N (CVSS 3.1) from the ADP CISA-ADP
Metasploit
Metasploit modules auxiliary/gather/wp_welcart_fileread_cve_2022_4140
nuclei
nuclei templates CVE-2022-4140
stage
POC
disclosed
disclosure → PoC
T+1344d POC is date-only
cvss
7.5 HIGH v3.1

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2023-01-02T21:49Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
2026-09-07, date only +1 more
nuclei
ITWexploited
no record yet
KEVKEV
no record yet

Summary

The Welcart e-Commerce WordPress plugin before 2.8.5 does not validate user input before using it to output the content of a file, which could allow unauthenticated attacker to read arbitrary files on the server

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:N
Network: the attacker only needs to reach it over the network
Attack complexity AC:L
Low: no special conditions; the attacker can expect repeatable success
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

CVSS 3.1 vector from the CVE record, added by the ADP CISA-ADP.

Event log

+DISdisclosed

CVE record published by WPScan. CVSS 7.5, high. CISA's SSVC assessment rates exploitation as poc.

src cvelist · nday , bulk import · raw
{
  "id": 62325,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2022-4140",
  "occurred_at": "2023-01-02T21:49:12.877Z",
  "observed_at": "2026-11-12T19:05:02.001372Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "adp:CISA-ADP",
      "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "version": "3.1",
      "base_score": 7.5,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-04-10T19:11:04.329562Z",
      "automatable": "yes",
      "exploitation": "poc",
      "technical_impact": "partial"
    },
    "state": "PUBLISHED",
    "date_published": "2023-01-02T21:49:12.877Z",
    "assigner_short_name": "WPScan"
  }
}
2026-09-07date only, from source
+POCpublic PoC

PoC repository on GitHub: anirbala98/CVE-2022-4140. The date is the repository's creation day.

src github 1360286106 · nday , bulk import · raw
{
  "id": 482904,
  "type": "poc_published",
  "source": "github",
  "url": "https://github.com/anirbala98/CVE-2022-4140",
  "occurred_at": "2026-09-07T13:48:33Z",
  "observed_at": "2026-11-19T00:00:00Z",
  "is_backfill": true,
  "dedupe_key": "1360286106",
  "detail": {
    "url": "https://github.com/anirbala98/CVE-2022-4140",
    "title": "anirbala98/CVE-2022-4140",
    "precision": "day"
  }
}
no source time; observed live by nday
+POCpublic PoC

Metasploit has module auxiliary/gather/wp_welcart_fileread_cve_2022_4140 (WordPress Welcart e-Commerce Arbitrary File Read (CVE-2022-4140)). The source gives no release time for the module.

src metasploit auxiliary/gather/wp_welcart_fileread_cve_2022_4140 · nday , observed live · raw
{
  "id": 480687,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/wp_welcart_fileread_cve_2022_4140.rb",
  "occurred_at": null,
  "observed_at": "2026-11-18T18:05:02.003822Z",
  "is_backfill": false,
  "dedupe_key": "auxiliary/gather/wp_welcart_fileread_cve_2022_4140",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/wp_welcart_fileread_cve_2022_4140.rb",
    "kind": "msf_module",
    "path": "/modules/auxiliary/gather/wp_welcart_fileread_cve_2022_4140.rb",
    "rank": 300,
    "check": true,
    "title": "WordPress Welcart e-Commerce Arbitrary File Read (CVE-2022-4140)",
    "cve_ids": [
      "CVE-2022-4140"
    ],
    "fullname": "auxiliary/gather/wp_welcart_fileread_cve_2022_4140",
    "rank_name": "normal",
    "confidence": "curated",
    "module_type": "auxiliary",
    "module_last_modified": "2026-10-14 13:43:47 +0000",
    "vuln_disclosure_date": "2022-12-05"
  }
}
time unknownsource gave no time
+POCpublic PoC

Nuclei has detection template CVE-2022-4140 (WordPress Welcart e-Commerce <2.8.5 - Arbitrary File Access). The source gives no release time for the template.

src nuclei · nday , bulk import · raw
{
  "id": 55338,
  "type": "poc_published",
  "source": "nuclei",
  "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4140.yaml",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:53.738369Z",
  "is_backfill": true,
  "dedupe_key": "CVE-2022-4140",
  "detail": {
    "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-4140.yaml",
    "kind": "detection_template",
    "title": "WordPress Welcart e-Commerce <2.8.5 - Arbitrary File Access",
    "severity": "high",
    "confidence": "curated",
    "cvss_score": "7.5",
    "template_id": "CVE-2022-4140",
    "template_path": "http/cves/2022/CVE-2022-4140.yaml"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.