Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify exposed Osclass site
-
ExploitCraft malicious sPattern parameter
-
ExecutionInject SQL via Item::findUserItems
-
ImpactExfiltrate database records
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Persistence The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an Osclass instance at version 8.3.1 or earlier that is network-reachable, with the attacker able to reach the search/item-listing code path that passes the sPattern argument into Item::findUserItems. The CVSS vector rates this unauthenticated (PR:N) with no user interaction (UI:N) and low complexity, implying default configurations are exploitable; however the 'findUserItems' naming suggests the query may normally serve a user-item context, so whether a session is required could not be confirmed from the data and should be validated. The primary limiting factor is deployment scale - Osclass is a niche self-hosted CMS - plus the absence of a vendor patch, meaning mitigation currently depends on virtual patching (WAF) or input filtering rather than an official fix. |
| Impact | This is a genuine-but-moderate priority issue, not a top-tier emergency. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated SQL injection, which is a favorable profile for attackers; however the impact metrics are rated only Low across confidentiality, integrity and availability (VC:L/VI:L/VA:L), yielding a modest 5.5 base score. The E:P marking and the description both confirm publicly available exploit code exists, but there is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active, widespread exploitation - the realistic posture is opportunistic scanning against an internet-exposed, niche CMS rather than mass targeted campaigns. Two signals warrant caution and verification: (1) SQL injection (CWE-89) frequently enables full database read/dump, which argues for higher confidentiality impact than the vendor-assigned VC:L - VulDB routinely under-rates SQLi impact, so treat the 5.5 as a floor; (2) the function name Item::findUserItems may imply the code path normally runs in a user/session context, yet the advisory states PR:N and 'initiated remotely' with no authentication detail, so the true authentication prerequisite could not be confirmed from the data and should be validated against the source. The vendor was contacted but did not respond, meaning no official patch or advisory is confirmed. |
| Exploit ScenarioDerived | An attacker locates an internet-exposed Osclass classifieds site (version ≤ 8.3.1) and sends a crafted request that places malicious SQL into the sPattern search argument consumed by Item::findUserItems. Because the input is concatenated into a query without sanitization, the attacker extracts database contents such as user records and credentials. Public exploit code for this flaw is already available, lowering the skill barrier for opportunistic reuse. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 20, 2026
SQL injection in Osclass through 8.3.1 lets remote attackers manipulate the sPattern argument handled by Item::findUserItems() in oc-includes/osclass/model/Item.php, allowing arbitrary SQL to be injected into the item-listing/search query so the attacker can read or alter database contents. The CVSS:4.0 score of 5.5 with an assessed CVSS:3.1 vector of AV:N/AC:L/PR:N/UI:N/SC:L/I:L/A:N indicates unauthenticated, low-complexity network exploitation with limited confidentiality and integrity impact; publicly available exploit code exists, though it is not confirmed as actively exploited (no CISA KEV entry). No vendor fix is identified - VulDB reports the vendor was contacted early and did not respond - so exposure persists for any reachable instance at version 8.3.1 or earlier.
RemediationAI
No vendor-released patch was identified at time of analysis: VulDB (https://vuldb.com/vuln/422654) states Osclass was contacted early about the disclosure and did not respond, so there is no fixed version to upgrade to. Until a fix ships, the highest-value control is virtual patching at the WAF or reverse proxy: deploy a rule that rejects or heavily normalizes requests whose search/listing parameters (particularly sPattern) contain SQL metacharacters such as single quotes, comment sequences, UNION/SELECT keywords, or boolean tautologies, accepting that overly broad rules may break legitimate search queries containing apostrophes. Second, patch the code path directly by rewriting Item::findUserItems() in oc-includes/osclass/model/Item.php to use prepared statements with bound parameters (or at minimum an explicit escaping/whitelisting routine) for sPattern - this is a small, targeted change and is the only durable fix; test it against the listing and user-item views since the same method may serve multiple callers. Third, reduce attack surface by restricting network access to the classifieds front end and admin panel to trusted networks or behind authentication where feasible, and by running the Osclass database account with least privilege (no FILE, no stacked-query or DDL rights) so a successful injection yields less. Monitor database and web logs for anomalous query patterns from listing endpoints, and track the VulDB entry for a vendor fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Osclass is a self-hosted PHP classifieds/listing CMS; the affected code lives in the Item model layer (oc-includes/osclass/model/Item.php), where Item::findUserItems() builds a database query using the caller-supplied sPattern parameter. Because sPattern is concatenated into the SQL statement rather than bound as a parameter, the weakness maps to CWE-89 (Improper Neutralization of Special Elements used in an SQL Command). The vulnerable path is the item-listing/search handler that passes user input down into this model method, meaning any request that reaches that listing code with an attacker-controlled pattern can influence query structure. The CPE entry (cpe:2.3:a:n/a:osclass with wildcard version) confirms the CPE dictionary does not constrain affected versions beyond the advisory's 'up to 8.3.1' statement. Note the method name implies a user-scoped item query, so whether a valid session is actually required could not be confirmed from the available data even though the assessed vector rates it PR:N; this should be validated against a live instance before assuming fully anonymous exploitability.
Know when Osclass gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
Network-reachable, low-complexity, no-auth SQLi gives AV:N/AC:L/PR:N; injection yields limited read/write (C:L/I:L) with no confirmed availability impact, so A:N.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
1DescriptionCVE.org
A weakness has been identified in Osclass up to 8.3.1. Affected by this vulnerability is the function Item::findUserItems of the file oc-includes/osclass/model/Item.php of the component Item Model Handler. This manipulation of the argument sPattern causes sql injection. The attack may be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
Directory traversal vulnerability in OSClass before 3.4.2 allows remote attackers to read arbitrary files via a .. Rated
Directory traversal vulnerability in combine.php in OSClass before 2.3.6 allows remote attackers to read and write arbit
Multiple SQL injection vulnerabilities in OSClass before 2.3.5 allow remote attackers to execute arbitrary SQL commands
Osclass 5.1.2 is vulnerable to SQL Injection. Rated high severity (CVSS 7.2), this vulnerability is remotely exploitable
Multiple cross-site scripting (XSS) vulnerabilities in the getParam function in oc-includes/osclass/core/Params.php in O
Multiple cross-site scripting (XSS) vulnerabilities in OSClass before 3.4.2 allow remote attackers to inject arbitrary w
Directory traversal vulnerability in oc-includes/osclass/controller/ajax.php in OSClass before 3.4.3 allows remote attac
SQL injection vulnerability in the Search::setJsonAlert method in OSClass before 3.4.3 allows remote attackers to execut
Unrestricted file upload vulnerability in the CWebContact::doModel method in oc-includes/osclass/controller/contact.php
Multiple SQL injection vulnerabilities in oc-admin/ajax/ajax.php in OSClass before 2.3.5 allow remote attackers to execu
Cross-site scripting (XSS) vulnerability in oc-admin/ajax/ajax.php in OSClass before 2.3.5 allows remote attackers to in
EUVD-2026-104877
GHSA-vg78-75hp-5rx2
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB