Skip to main content
Mallory
HighVulnerability

CVE-2022-51023: Unauthenticated SQL Injection in PHPOK sort Parameter

Published Oct 22, 2026 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS8.8High · v4
EPSS0.26%18th percentile
CISA KEVNoNot listed
In the wildReported3 exploitation records in Mallory
Vendor
Phpok
IdentifiersCVE-2022-51023CWE-89 · Improper Neutralization of Special…

CVE-2022-51023 is an unauthenticated SQL injection vulnerability affecting PHPOK versions from 4.5.000 up to, but excluding, 5.4.081. Improper handling of the sort parameter in the project index API allows remote attackers to manipulate SQL ORDER BY clauses. Crafted GET requests containing extractvalue expressions can trigger database errors that disclose database information. The Shadowserver Foundation first observed evidence of exploitation on October 14, 2023.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation exposes database information through error messages, potentially compromising sensitive data accessible to the application's database account. Recorded CVSS assessments indicate high confidentiality impact, low integrity impact, and no availability impact. Database modification and code execution are not established by the available technical details.

Mitigation

If you can’t patch tonight, do this now.

Until upgrading, restrict untrusted access to the affected project index API endpoint. No vendor-provided workaround is specified.

Remediation

Patch, then assume compromise.

Upgrade PHPOK to version 5.4.081 or a later supported release outside the affected version range.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
PhpokPhpokapplication
FAQ

Frequently asked questions

Is CVE-2022-51023 exploited in the wild?
Yes. As of Nov 19, 2026, Mallory has reports of exploitation in the wild.
Is there a public exploit for CVE-2022-51023?
As of Nov 19, 2026, Mallory has found no public exploit for CVE-2022-51023.
Is there a patch for CVE-2022-51023?
Upgrade PHPOK to version 5.4.081 or a later supported release outside the affected version range.
What products are affected by CVE-2022-51023?
Phpok.
How severe is CVE-2022-51023?
CVE-2022-51023 has a CVSS v4 score of 8.8 (High) and an EPSS score of 0.26% (18th percentile) as of Nov 19, 2026.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.