Quick verdict (updated 29 October 2026)
- PHP2Shell (CVE-2026-109618, CVE-2026-109619) is a PHP flaw. Fix: update PHP to 8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer.
- CVE-2026-113381 is an Osclass flaw in 8.3.1 and older. Fix: update Osclass to 8.4.0 or newer.
- You need both updates. A PHP update does not fix Osclass, and an Osclass update does not fix PHP.
October 2026 brought two different security problems to Osclass site owners within the same week. One lives in PHP, the language every Osclass installation runs on. The other lives in Osclass core and was fixed in the Osclass 8.4 release. Each is fixed in a different place, and mixing them up is the fastest way to stay vulnerable. Below: what each flaw does, how to check and fix your site, and a checklist for the other threats classifieds sites have faced since 2024.
Osclass code does not contain PHP2Shell, but any Osclass site running on an unpatched PHP version is at risk. PHP2Shell is a bug in the PHP interpreter, so an attacker can take over the whole server through your public website URL. Updating Osclass cannot fix it. Only a PHP update closes it.
The key detail for site owners: on Apache with mod_php, the attack can fire before any application code runs. That means Osclass login checks, CSRF tokens, input filters and security plugins never get a chance to execute. A well-written application does not protect you from a broken interpreter.
PHP2Shell is the name given to two critical remote code execution bugs in PHP itself, patched on 21 October 2026. They affect the PHP engine that executes Osclass, WordPress, Magento and any other PHP application. An attacker who succeeds can run their own code on your server, which means full access to files, config.php, the database password and every user record.
According to the PHP Foundation announcement and the PHP2Shell technical analysis by Sansec:
Exploitation reports differ. Sansec writes that Cloudflare saw first attacks a few hours before the official release and that public proof-of-concept code mostly needs an extra application bug to work. watchTowr reports that CISA added CVE-2026-109618 to its Known Exploited Vulnerabilities catalogue on 26 October. Either way, the safe assumption is simple: attackers are scanning for unpatched PHP right now.
Patched releases are PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12. Anything lower on the same branch is vulnerable.
|
PHP branch |
First fixed version |
Upstream status (php.net) |
What to do |
|
8.5 |
8.5.12 |
Active support |
Update to 8.5.12 or newer |
|
8.4 |
8.4.27 |
Active support |
Update to 8.4.27 or newer |
|
8.3 |
8.3.36 |
Security fixes only |
Update to 8.3.36 or newer |
|
8.2 |
8.2.35 |
Security fixes until 31 December 2026 |
Update now, plan the move to 8.4 or 8.5 |
|
8.1 and older (incl. 7.4) |
No official release |
End of life |
Only vendor or distribution backports. Upgrade to PHP 8.4 or 8.5 |
Linux distributions (Debian, Ubuntu, RHEL family) and control panels such as Plesk ship their own patched packages. These often keep the original version number with a new package revision, so check the package changelog for the CVE number instead of relying on the version string. The current support dates for each branch are listed on php.net supported versions.
On PHP 8.2? The patch buys you two months. PHP 8.2 stops receiving security fixes on 31 December 2026, so the next PHP flaw after that date will have no fix for 8.2. Apply 8.2.35 now and plan the move to PHP 8.4 or 8.5 before the end of the year.
Open Osclass backoffice and go to Tools > Configuration info. The Server information block shows the PHP version, memory limit and execution time. You can read more about what the Configuration info screen shows and why it matters.
No backoffice access? Ask your host, or upload a temporary file with <?php phpinfo(); and open it in the browser. Delete that file right after, because it reveals server details to anyone.
Switch to the patched PHP version in your hosting panel, or update the PHP packages on your server and restart PHP. The exact steps depend on where your site runs:
Osclass 8.3.1 and newer fully support PHP 8.5, and Osclass 8.4 requires at least PHP 7.4. If you are still on PHP 7.4 or 8.0, this is the moment to move to 8.4 or 8.5. Our guide on choosing hosting that keeps PHP up to date for Osclass lists what to look for.
Running Docker, XAMPP or a panel with its own PHP build? These ship a separate PHP copy that system updates do not touch. A server can have patched system PHP while the site still runs an old bundled one, so always check the version Osclass reports, not the one on the command line.
Do not assume it. Check the PHP version in Osclass and ask your host for written confirmation. A host may have patched the PHP builds it manages, but an account set to an older version, such as PHP 8.1, stays on that version until you change it. Ask support one clear question: "Is the PHP version on my account patched for CVE-2026-109618 and CVE-2026-109619?"
Open Tools > Configuration info again and check that the PHP version shows the patched release, then test the forms your users rely on.
There is no complete workaround: updating PHP is the only fix. The PHP Foundation's advice is to update now. Sansec lists temporary mitigations that reduce exposure for a few hours, all with side effects:
Remove these workarounds once PHP is updated, and check that publishing a listing with photos works again.
CVE-2026-113381 is an SQL injection in Osclass 8.3.1 and older, fixed in Osclass 8.4.0 (released 2 October 2026). Unlike PHP2Shell, this one is in Osclass code, so only an Osclass update closes it. The CVE was published around 20 October 2026, after the fix had already shipped.
The Osclass 8.4.0 changelog lists the fix as "Public profile listing search escapes the keyword and only allows known sort columns." In current code the pattern goes through the database escaping function before it reaches the query, and sort columns are limited to a known list.
Back up your site and update Osclass to 8.4.0 or newer.
If you cannot update right away, add a WAF rule that blocks SQL keywords and quotes in the pattern parameter on public profile URLs. That buys time, nothing more.
Server and PHP problems are fixed by your host or system administrator; Osclass core problems are fixed by an Osclass update; theme and plugin problems are fixed by their author. Knowing the layer tells you whom to contact and which update closes the hole.
|
Layer |
Example from 2024-2026 |
Who releases the fix |
Your action |
|
Operating system and PHP |
PHP2Shell (CVE-2026-109618/109619), PHP-CGI CVE-2024-4577 |
PHP project, Linux distribution, hosting provider |
Update PHP, restart services, confirm with host |
|
Bundled PHP (Docker, XAMPP, panel builds) |
Same PHP flaws, separate copy |
Image or package maintainer |
Rebuild or update the bundle; system updates do not cover it |
|
Osclass core |
CVE-2026-113381 SQL injection |
Osclass releases (8.x line) |
Update to the latest 8.x |
|
Themes and plugins |
Outdated or nulled extensions |
Theme or plugin author |
Update, delete unused ones, download only from official sources |
|
Third-party scripts |
polyfill.io takeover (2024) |
External provider |
Remove or self-host scripts you depend on |
Updating Osclass to 8.4 does nothing for PHP2Shell. Updating PHP does nothing for CVE-2026-113381. You need both.
The main risks of the last two years were outdated PHP, hijacked third-party scripts, untrusted extensions, aggressive bots and attacks on user accounts. Classifieds sites are attractive targets because they hold e-mails, phone numbers and open forms that anyone can submit.
PHP 8.1 lost security support on 31 December 2025, and PHP 8.2 follows on 31 December 2026. Many Osclass sites still run on 7.4 or 8.0 because "it works". It works until the next PHP flaw, and then no upstream fix exists. PHP2Shell shows exactly that: branches 8.1 and older got no official release.
CVE-2024-4577, a PHP-CGI argument injection on Windows servers disclosed in June 2024 (CVSS 9.8), was quickly used to spread ransomware and malware. Windows hosting with PHP-CGI and local stacks such as XAMPP left on public IPs were hit hardest. Lesson: old PHP bugs keep getting exploited for years on servers nobody updates.
In June 2024 the polyfill.io domain changed owner and started serving malicious JavaScript to sites that still loaded it; Sansec counted over 100,000 affected websites. The same logic applies to Osclass: every external script in your theme header runs with full access to your visitors' pages. Nulled themes and plugins are worse, since they often include backdoors from day one. Read how to download Osclass themes and plugins securely and only install packages from OsclassPoint or the original author.
Automated traffic now outnumbers people on many sites. In our article on AI bots and AI traffic on classifieds sites we cite Cloudflare Radar data from June 2026 showing 57.5% of HTML requests coming from automation. For Osclass this means spam listings, fake accounts, contact form abuse and server load. Practical defences:
Cross-site scripting (XSS) that steals session cookies and cross-site request forgery (CSRF) that tricks a logged-in user into an action remain common on any site with user content. Weak admin passwords and shared admin accounts make every other defence weaker.
Osclass 8.3 and 8.4 added hardening in cookies, uploads, search, CSRF and HTML filtering. Security fixes ship only in the current 8.x line, so sites on 3.x, 4.x or unofficial forks receive none of them. Highlights from the official changelog:
Start with the three urgent steps today, then run through the full list once a month.
In the next 60 minutes:
Every month:
The full list of hardening options is on the official Osclass security page. For server limits such as PHP memory_limit, see which server limits break first on a growing classifieds site.
E-mail info@osclass-classifieds.com with the subject "Security report". Include the Osclass version, the affected file, URL or admin screen, steps to reproduce and the possible impact. Say whether a theme or plugin is involved. Please do not post exploit details on forums, GitHub or social media before a fixed release is available. Issues in third-party extensions go to their authors.
Bottom line: PHP2Shell is fixed by updating PHP. CVE-2026-113381 is fixed by updating Osclass. Do both this week, keep backups, and protect your forms from bots. Need help? Browse Osclass security and anti-spam plugins or read the Osclass documentation.
Question: Is Osclass affected by PHP2Shell?
Answer: Osclass code is not vulnerable, but any Osclass site running on an unpatched PHP version is at risk. PHP2Shell (CVE-2026-109618 and CVE-2026-109619) is a flaw in the PHP interpreter, so it can compromise the whole server. Update PHP to fix it.
Question: Which PHP version is safe from PHP2Shell?
Answer: PHP 8.2.35, 8.3.36, 8.4.27 and 8.5.12 or newer are patched. PHP 8.1 and older have no official fix, only vendor backports, so move to PHP 8.4 or 8.5.
Question: Will updating Osclass fix the PHP vulnerability?
Answer: No. PHP2Shell can only be fixed by updating PHP on the server. Updating Osclass to 8.4 fixes Osclass core issues such as CVE-2026-113381, so you need both updates.
Question: How do I check my PHP version in Osclass?
Answer: Go to Tools > Configuration info in Osclass backoffice. The Server information section shows the PHP version, memory limit and execution time.
Question: What is CVE-2026-113381 in Osclass?
Answer: CVE-2026-113381 is an SQL injection in Item::findUserItems() affecting Osclass 8.3.1 and older. The search pattern in public profile listings was not escaped. It is fixed in Osclass 8.4.0.
Question: Which Osclass version fixes CVE-2026-113381?
Answer: Osclass 8.4.0, released on 2 October 2026, and every newer version. Back up your site and update from the official download page or with Tools > Upgrade Osclass in backoffice.
Question: How do I know the PHP2Shell fix worked?
Answer: Check that Tools > Configuration info shows PHP 8.2.35, 8.3.36, 8.4.27, 8.5.12 or newer. Then post a test listing with photos and check the debug log for new errors.
Question: Is PHP 8.2 still safe after the PHP2Shell patch?
Answer: PHP 8.2.35 is patched, but PHP 8.2 stops receiving security fixes on 31 December 2026. Plan the move to PHP 8.4 or 8.5 before then.
Question: Can I protect my site if I cannot update PHP today?
Answer: Only partly, and there is no complete workaround. Disabling session.upload_progress and blocking multipart/form-data requests reduces exposure but breaks image uploads. Update PHP as soon as possible.
Question: Which PHP version should I use with Osclass in 2026?
Answer: Use PHP 8.4 or 8.5 with the latest security patch. Osclass 8.3.1 and newer fully support PHP 8.5, and Osclass 8.4 requires at least PHP 7.4.
Question: Does Osclass still get security updates?
Answer: Yes. Security fixes ship in the current Osclass 8.x line released by OsclassPoint. Sites on 3.x, 4.x or unofficial forks do not receive them.
Question: How do I protect Osclass from spam bots?
Answer: Add Cloudflare Turnstile or Google reCAPTCHA Enterprise to forms, require e-mail verification and enable admin approval for new sellers. Caching and rate limits reduce bot load on the server.
Question: How do I report a vulnerability in Osclass?
Answer: E-mail info@osclass-classifieds.com with the subject "Security report", the Osclass version, steps to reproduce and impact. Do not publish details before a fix is released.