← Vulnerability feed

Vulnerability record · CVE-2008-1059 · published 28 February 2008

CVE-2008-1059: WordPress Sniplets plugin remote file inclusion via libpath

Wordpress · Sniplets Plugin

The Sniplets plugin (versions 1.1.2 and 1.2.2) for WordPress contains a remote file inclusion flaw in modules/syntax_highlight.php, where the libpath parameter is used to include a remote file without validation. An attacker can point libpath at a URL hosting malicious PHP, causing the server to fetch and execute it. This matters because it yields remote code execution on the web server with no authentication required.

7.5 CVSS 2.0 High EPSS 48% · top 1.2% CWE-94 · Code injection
7.5CVSS 2.0 base score
48%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
12References, 2 tagged exploit
16 Jun 2026Last modified by NVD

Description

PHP remote file inclusion vulnerability in modules/syntax_highlight.php in the Sniplets 1.1.2 and 1.2.2 plugin for WordPress allows remote attackers to execute arbitrary PHP code via a URL in the libpath parameter.

AV:N/AC:L/Au:N/C:P/I:P/A:P

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: high.

critical priorityUnauthenticated remote code execution with public exploit code and very high EPSS probability makes this an urgent fix despite its age.

What it is

The Sniplets plugin (versions 1.1.2 and 1.2.2) for WordPress contains a remote file inclusion flaw in modules/syntax_highlight.php, where the libpath parameter is used to include a remote file without validation. An attacker can point libpath at a URL hosting malicious PHP, causing the server to fetch and execute it. This matters because it yields remote code execution on the web server with no authentication required.

Impact

An unauthenticated attacker gains arbitrary PHP code execution on the WordPress host, which typically means full compromise of the site and potentially the underlying server. This can lead to data theft, defacement, or use of the host as a pivot point.

Attack surface

Reached over the network via an HTTP request to the plugin's modules/syntax_highlight.php with a crafted libpath parameter; the CVSS vector AV:N/AC:L/Au:N confirms no authentication and no user interaction are needed.

Exploitation

Public exploit code exists (Exploit-DB 5194 and a SecurityFocus BID tagged Exploit), and EPSS is 0.48329 (98.8th percentile), indicating high likelihood of exploitation; it is not listed in CISA KEV.

What to do

  • Patch or remove the Sniplets plugin; if no fixed version exists, deactivate and uninstall it, since the plugin is long abandoned.
  • Disable allow_url_include and allow_url_fopen in php.ini to block remote file inclusion at the PHP level.
  • Restrict outbound HTTP from the web server so it cannot fetch attacker-hosted PHP payloads.
  • Audit the WordPress installation for other outdated plugins and enforce a patch management process.
  • Deploy a WAF rule blocking requests to modules/syntax_highlight.php with external URLs in libpath.

Detection

  • Search web server logs for requests to modules/syntax_highlight.php with libpath containing http:// or https:// URLs.
  • Monitor for outbound HTTP connections from the web server to unfamiliar hosts, especially followed by PHP execution.
  • Look for unexpected PHP files or recently modified files in the WordPress web root and upload directories.
  • Alert on PHP include or require errors referencing remote URLs in application logs.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2008-1059 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.5CVE-2008-1060Wordpress sniplets plugin code injection vulnerabilityEval injection vulnerability in modules/execute.php in the Sniplets 1.1.2 and 1.2.2 plugin for WordPress allows remote attackers to execute arbitrary…EPSS 44%4.3CVE-2008-1061Wordpress sniplets plugin cross-site scripting vulnerabilityMultiple cross-site scripting (XSS) vulnerabilities in the Sniplets 1.1.2 and 1.2.2 plugin for WordPress allow remote attackers to inject arbitrary w…EPSS 7.4%8.8CVE-2026-65660Microsoft sharepoint server code injection vulnerabilityImproper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.KEVEPSS 2.1%9.8CVE-2026-60004Gitea diffpatch API code injection enables remote code executionGitea before 1.27.1 allows remote code execution through the diffpatch API by way of Git hook installation. The flaw is a code injection issue (CWE-9…KEVEPSS 24%analysed9.5CVE-2026-72530TrueConf Server sandbox breakout via crafted script code injectionTrueConf Server versions 5.3.X through 5.3.9, 5.4.X through 5.4.9, 5.5.X through 5.5.5 and earlier allow a remote unauthenticated attacker to break o…KEVEPSS 1.7%analysed9.4CVE-2025-62593Ray browser-based RCE via insufficient User-Agent guardRay, an AI compute engine, contains a critical remote code execution flaw before version 2.52.0. Its defense against browser-based attacks relies on …KEVEPSS 62%analysed9.8CVE-2026-9198Langflow auto_login and code validation chain enables unauthenticated RCEIBM Langflow OSS 1.0.0 through 1.10.0 exposes /api/v1/auto_login, which mints SUPERUSER tokens to any network caller, and /api/v1/validate/code, whic…KEVEPSS 29%analysed7.2CVE-2026-15410SonicWall SMA1000 AMC code injection allows OS command executionThe SMA1000 Appliance Management Console (AMC) contains a post-authentication code injection flaw (CWE-94) that, under specific conditions, lets an a…KEVEPSS 12%analysed

Source: NIST National Vulnerability Database (record CVE-2008-1059), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.