NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
HIGH severity

CVE-2022-31367 — strapi

HIGHFix: strapi/strapi#13185

CVE-2022-31367 is a high-severity (CVSS 8.8) SQL Injection vulnerability in strapi. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for strapi — see the affected versions and patch details below.

Strapi mishandles hidden attributes within admin API responses

Also known asGHSA-4phg-hpqm-c3j4
Published
Updated
Affected
2 pkgs
Patched
2 / 2
Exploits
1 known
Exploitation data as of Nov 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2022-31367.

EPSS Exploitation Probability

via FIRST.org ↗
1.7%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs78th percentile — riskier than 78% of all scored CVEsHighest risk
0.16%0.85%1.54%2.22%0.7%1.7%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, a proxy for how much of the ecosystem is exposed.

strapinpm
10Kdownloads / week
@strapi/strapinpm
271Kdownloads / week

Description

Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.

Affected Packages

2 total 2 fixed
EcosystemPackageVulnerable rangeFix
📦npmstrapiall versions3.6.10npm install strapi@3.6.10
📦npm@strapi/strapi≥ 4.0.0-next.0&&< 4.1.104.1.10npm install @strapi/strapi@4.1.10

Affected Products

1 product · 2 configurations
Application
strapistrapi
≥ 4.0.0 && < 4.1.10
range
Exploits & PoCs
1

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for strapi, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update strapi to 3.6.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-31367 is resolved across your whole dependency graph.

  3. Workarounds

    Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.

Frequently Asked Questions

Strapi before 3.6.10 and 4.x before 4.1.10 mishandles hidden attributes within admin API responses.
O3 Security · Impact-Aware SCA

Is CVE-2022-31367 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2022-31367: strapi — Fixed in 3.6.10