Home / Strapi / Strapi / CVE-2022-31367
CVE-2022-31367: is it exploited, and which versions of Strapi are affected and fixed?
CVE-2022-31367 is a SQL injection vulnerability in Strapi. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:08 UTC). Affected: strapi before 3.6.10 and @strapi/strapi from 4.0.0-next.0 before 4.1.10 (GitHub advisory GHSA-4phg-hpqm-c3j4). Fixed in 3.6.10 and 4.1.10 (GitHub advisory GHSA-4phg-hpqm-c3j4). Severity: High (8.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:08 UTC, CVE record November 19, 2026, 07:14 UTC and NVD November 19, 2026, 07:45 UTC.
What is CVE-2022-31367?
Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.
From the CVE record by mitre, last updated May 22, 2025, 13:50 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | strapi | < 3.6.10 | 3.6.10 | GHSA-4phg-hpqm-c3j4 |
| npm | @strapi/strapi | >= 4.0.0-next.0, < 4.1.10 | 4.1.10 | GHSA-4phg-hpqm-c3j4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated October 3, 2022. Summary: Strapi mishandles hidden attributes within admin API responses.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| strapi | strapi | before 3.6.10 | application |
| strapi | strapi | from 4.0.0 before 4.1.10 | application |
NVD analysis (status Modified), last modified June 17, 2026, 04:45 UTC.
How severe is CVE-2022-31367?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2022-31367 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, May 22, 2025)
- EPSS
- 1.76% probability of exploitation activity in the next 30 days, percentile 78.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://github.com/strapi/strapi/releases/tag/v4.1.10 x_refsource_MISC
- https://github.com/strapi/strapi/releases/tag/v3.6.10 x_refsource_MISC
- https://github.com/kos0ng/CVEs/tree/main/CVE-2022-31367 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 23, 2022
- Published
- September 27, 2022, 13:02 UTC
- CVE record updated
- May 22, 2025, 13:50 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 04:45 UTC
- Last checked
- CVE list November 19, 2026, 07:14 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 10:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Strapi?
- Apr 19, 2023CVE-2023-22894 Strapi: sensitive data stored in clear text exploited
- Oct 10, 2026CVE-2026-108114 strapi: incorrect authorization
- Sep 13, 2026CVE-2026-90561 strapi: cross-site scripting (XSS)
- Jun 29, 2026CVE-2026-57997 strapi: broken or risky cryptography
- May 14, 2026CVE-2026-27886 strapi: path traversal (reading or writing files outside the intended folder)
- May 14, 2026CVE-2026-22707 strapi: unrestricted file upload
- May 14, 2026CVE-2026-22706 strapi: session does not expire
- May 14, 2026CVE-2026-22599 strapi: SQL injection
Questions about CVE-2022-31367
Is CVE-2022-31367 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:08 UTC. FIRST's EPSS gives it a 1.76% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Strapi are affected by CVE-2022-31367?
strapi before 3.6.10 and @strapi/strapi from 4.0.0-next.0 before 4.1.10, per the GitHub advisory GHSA-4phg-hpqm-c3j4. The tables above give every range the sources list.
Which version fixes CVE-2022-31367?
3.6.10 and 4.1.10, per the GitHub advisory GHSA-4phg-hpqm-c3j4. Check the vendor's advisory before you rely on it.
How severe is CVE-2022-31367?
High (8.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2022-31367?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.