Scan report
flatpressblog / flatpress
Could an attacker exploit mistakes in this code?
Strong warning signs. Do not run or install this without a careful review.
- High
- 65
- Medium
- 154
- Low
- 0
Sources: Bandit, Semgrep, pip-audit
Does this code look like it is trying to cause harm?
No issues of this kind were found.
- High
- 6
- Medium
- 0
- Low
- 0
Sources: YARA, ClamAV, GuardDog, dependency checker
- Likely real
- 50
- Uncertain
- 87
- Likely noise
- 88
The risk classifier rates every finding for how likely it is to be a real issue. Likely noise still counts, just much less.
What we found, in plain English
This repository has been flagged as having a critical vulnerability score of 494.0, which means there are serious security issues in the code that an attacker could easily exploit to break into your system or steal data. The scan found many instances where untrusted user input is being used directly without proper protection, such as when creating links or executing commands based on what a visitor types in a form. While the code does not appear to be intentionally malicious, these patterns are typical of insecure coding practices that developers often use but fail to secure properly. Because of these dangerous flaws, it is not safe to use this repository for any production project without first fixing the identified vulnerabilities.
Written by a local language model from the findings below. The risk scores come from the classifier, not from this summary.
Detections by engine
Score over time
Overall score each time this repository was scanned.
Findings
Highest severity first. Select a finding to see the code and what it means.
Large result: showing the top 206 of 225 findings (up to 200 per engine, most severe and most likely real first). Totals above include everything.
-
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/editor.php line 40
- Likely real
- Yes, 99% confidence
Untrusted input could be used to tamper with a web page rendering, which can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
echo "<li><a href=\"" . $manage . "\">" . $plang ['simple_manage'] . "</a></li>\n"; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/editor.php line 40
- Likely real
- Yes, 99% confidence
Untrusted input could be used to tamper with a web page rendering, which can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
echo "<li><a href=\"" . $manage . "\">" . $plang ['simple_manage'] . "</a></li>\n"; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/admin.php line 619
- Likely real
- Yes, 99% confidence
Untrusted input could be used to tamper with a web page rendering, which can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
$suggs [] = '<b>' . mb_substr($tmp, 0, $tagLength, 'UTF-8') . '</b>' . mb_substr($tmp, $tagLength, null, 'UTF-8'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/widgets/admin.widgets.raw.php line 49
- Likely real
- Yes, 98% confidence
The application might dynamically evaluate untrusted input, which can lead to a code injection vulnerability. An attacker can execute arbitrary code, potentially gaining complete control of the system. To prevent this vulnerability, avoid executing code containing user input. If this is unavoidable, validate and sanitize the input, and use safe alternatives for evaluating user input.
if (@eval($tmp) !== false) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/widgets/admin.widgets.raw.php line 49
- Likely real
- Yes, 98% confidence
The application might dynamically evaluate untrusted input, which can lead to a code injection vulnerability. An attacker can execute arbitrary code, potentially gaining complete control of the system. To prevent this vulnerability, avoid executing code containing user input. If this is unavoidable, validate and sanitize the input, and use safe alternatives for evaluating user input.
if (@eval($tmp) !== false) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/main.php line 60
- Likely real
- Yes, 96% confidence
Detected user input going into a php include or require command, which can lead to path traversal and sensitive data being exposed. These commands can also lead to code execution. Instead, allowlist files that the user can access or rigorously validate user input.
include ($panelpath); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/main.php line 87
- Likely real
- Yes, 96% confidence
Detected user input going into a php include or require command, which can lead to path traversal and sensitive data being exposed. These commands can also lead to code execution. Instead, allowlist files that the user can access or rigorously validate user input.
include __DIR__ . '/lang/' . $lf; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/maintain/admin.maintain.php line 672
- Likely real
- Yes, 50% confidence
The 'phpinfo' function may reveal sensitive information about your environment.
phpinfo(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/step2.lib.php line 20
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
static_save(array( 'subject' => $vl ['menu'] ['subject'], 'content' => $vl ['menu'] ['content'], 'date' => date_time(), 'version' => system_ver(), 'author' => 'FlatPress' ), 'menu'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/step2.lib.php line 56
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
static_save(array( 'subject' => $vl ['privacy-policy'] ['subject'], 'content' => $vl ['privacy-policy'] ['content'], 'date' => date_time(), 'version' => system_ver(), 'author' => 'FlatPress' ), 'privacy-policy'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/step2.lib.php line 47
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
static_save(array( 'subject' => $vl ['legal-notice'] ['subject'], 'content' => $vl ['legal-notice'] ['content'], 'date' => date_time(), 'version' => system_ver(), 'author' => 'FlatPress' ), 'legal-notice'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/step2.lib.php line 38
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
static_save(array( 'subject' => $vl ['about'] ['subject'], 'content' => $vl ['about'] ['content'], 'date' => date_time(), 'version' => system_ver(), 'author' => 'FlatPress' ), 'about'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/step2.lib.php line 29
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
static_save(array( 'subject' => $vl ['bottommenu'] ['subject'], 'content' => $vl ['bottommenu'] ['content'], 'date' => date_time(), 'version' => system_ver(), 'author' => 'FlatPress' ), 'bottommenu'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/step2.lib.php line 11
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
entry_save(array( 'subject' => $vl ['entry'] ['subject'], 'content' => $vl ['entry'] ['content'], 'date' => date_time(), 'version' => system_ver(), 'author' => 'FlatPress' )); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/main.lib.php line 199
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$fp_config ['general'] ['blogid'] = system_generate_id(BLOG_ROOT . $user ['www'] . $user ['email'] . $user ['userid']); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/tagdb.php line 267
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$sanitized = system_load_php_array(CACHE_DIR . 'tag-rewrite.tmp', 'sanitized'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/storage/plugin.storage.php line 658
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$out2 = @shell_exec('quota -u ' . escapeshellarg(get_current_user()) . ' 2>/dev/null'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 12248
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$entry = array( 'version' => system_ver(), 'subject' => $subject, 'content' => $entryContent, 'author' => $author, 'date' => plugin_mastodon_remote_status_timestamp($remoteStatus) ); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/plugin/admin.plugin.php line 61
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins')); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/plugin/admin.plugin.php line 96
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$success = system_save(CONFIG_DIR . 'plugins.conf.php', compact('fp_plugins')); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/widgets/admin.widgets.default.php line 366
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$success = system_save(CONFIG_DIR . 'widgets.conf.php', compact('fp_widgets')); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /contact.php line 65
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$arr = [ 'version' => system_ver(), 'name' => $name, 'email' => $email ? : null, 'url' => $url ? : null, 'content' => $content, 'ip-address' => utils_ipget() ? : null, ]; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.system.php line 87
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
return system_save(HASHSALT_FILE, array( 'fp_hashsalt' => $fp_config ['general'] ['blogid'] . ABS_PATH . BLOG_BASEURL . mt_rand() )); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 12500
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$comment = array( 'version' => system_ver(), 'loggedin' => '0', 'name' => $name, 'url' => !empty($remoteComment ['account'] ['url']) ? (string) $remoteComment ['account'] ['url'] : '', 'content' => $content, 'date' => plugin_mastodon_remote_status_timestamp($remoteComment) ); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.theme.php line 244
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
echo ' <!-- FP STD HEADER --> <meta name="generator" content="FlatPress ' . system_ver() . '"> <link rel="alternate" type="application/rss+xml" title="' . $lang ['main'] ['entries'] . ' | RSS 2.0" href="' . theme_feed_link('rss2') . '"> <link rel="alternate" type="application/atom+xml" title="' . $lang ['main'] ['entries'] . ' | Atom 1.0" href="' . theme_feed_link('atom') . '"> <!-- EOF FP STD HEADER --> '; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/plugin.commentcenter.php line 305
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
return system_save($this->pl_dir . 'policies.txt', array( 'policies' => $this->policies )); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/plugin.commentcenter.php line 429
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$saved = system_save($f, array( 'comment' => $comment )); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/newsletter/regression-test/simulate_newsletter_plugin.php line 360
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$process = proc_open($command, $descriptors, $pipes); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/newsletter/regression-test/simulate_newsletter_plugin.php line 448
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$process = proc_open($command, $descriptors, $pipes); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/admin.php line 593
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$cache = system_load_php_array($f, 'cache'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/admin.php line 604
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_save($f, array( 'cache' => array( 'tags' => $tags, ) )); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/init.php line 204
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_init_action_params(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/tagdb.php line 10
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
return system_load_php_array($file, $variable); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/tagdb.php line 159
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
return system_save($realfile, compact('tag')); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/tagdb.php line 307
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_save(CACHE_DIR . 'tag-rewrite.tmp', array('sanitized' => $sanitized)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/widget.php line 44
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$cache = system_load_php_array(CACHE_DIR . 'tag-widget.tmp', 'cache'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/widget.php line 77
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_save(CACHE_DIR . 'tag-widget.tmp', array('cache' => $cache)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/widget.php line 268
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$cache = system_load_php_array($cachefile, 'cache'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/widget.php line 320
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_save($cachefile, array('cache' => $cache)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup.php line 7
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
@system_init(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/main.lib.php line 37
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$setupid = system_generate_id(BLOG_BASEURL . $host); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/lib/main.lib.php line 203
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_hashsalt_save(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Cacheresource/Custom.php line 161
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval('?>' . $content); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Template/Compiled.php line 162
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval('?>' . $this->doCompile($_smarty_tpl)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/entry/admin.entry.write.php line 179
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$arr ['version'] = system_ver(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/static/admin.static.write.php line 170
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$arr ['version'] = system_ver(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /comments.php line 156
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$arr ['version'] = system_ver(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.config.php line 78
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
return system_save($conffile, $arr); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.system.php line 198
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_sanitizequery(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.system.php line 199
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_prepare_iis(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.users.php line 185
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
return system_save(USERS_DIR . $user ['userid'] . '.php', compact('user')); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.wp-options.php line 30
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
system_dprint($options); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/fp-smartyplugins/modifier.is_external_url.php line 166
- Likely real
- Uncertain, 43% confidence
Executing non-constant commands. This can lead to command injection.
$guessedBase = system_guessbaseurl(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Cacheresource/File.php line 107
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval('?>' . file_get_contents($_smarty_tpl->getCached()->filepath)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Cacheresource/KeyValueStore.php line 129
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval('?>' . $content); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Compile/Modifier/Base.php line 45
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval("\$t = " . $params[ $index ] . ";"); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/FunctionHandler/Math.php line 124
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval("\$smarty_math_result = " . $equation . ";"); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Runtime/TplFunctionRuntime.php line 110
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval($match[0]); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Template/Compiled.php line 257
- Likely real
- Uncertain, 43% confidence
Evaluating non-constant commands. This can lead to command injection.
eval('?>' . file_get_contents($this->filepath)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/main.php line 217
- Likely real
- Uncertain, 42% confidence
Executing non-constant commands. This can lead to command injection.
system_init(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /contact.php line 263
- Likely real
- Uncertain, 42% confidence
Executing non-constant commands. This can lead to command injection.
system_init(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /index.php line 243
- Likely real
- Uncertain, 42% confidence
Executing non-constant commands. This can lead to command injection.
system_init(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /login.php line 172
- Likely real
- Uncertain, 42% confidence
Executing non-constant commands. This can lead to command injection.
system_init(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /search.php line 7
- Likely real
- Uncertain, 42% confidence
Executing non-constant commands. This can lead to command injection.
system_init(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /sitemap.php line 65
- Likely real
- Uncertain, 42% confidence
Executing non-constant commands. This can lead to command injection.
system_init(); -
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /fp-includes/core/core.utils.php
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /fp-includes/smarty-5.8.4/src/FunctionHandler/Mailto.php
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/jquery-ui.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 1531
- Likely real
- Yes, 100% confidence
RegExp() called with a `className` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled input, consider performing input validation or use a regex checking/sanitization library such as https://www.npmjs.com/package/recheck to verify that the regex does not appear vulnerable to ReDoS.
( pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" ) ) && -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 1651
- Likely real
- Yes, 100% confidence
RegExp() called with a `className` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled input, consider performing input validation or use a regex checking/sanitization library such as https://www.npmjs.com/package/recheck to verify that the regex does not appear vulnerable to ReDoS.
( pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" ) ) && -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 1651
- Likely real
- Yes, 100% confidence
RegExp() called with a `className` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled input, consider performing input validation or use a regex checking/sanitization library such as https://www.npmjs.com/package/recheck to verify that the regex does not appear vulnerable to ReDoS.
( pattern = new RegExp( "(^|" + whitespace + ")" + className + "(" + whitespace + "|$)" ) ) && -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe.js line 54
- Likely real
- Yes, 100% confidence
RegExp() called with a `className` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled input, consider performing input validation or use a regex checking/sanitization library such as https://www.npmjs.com/package/recheck to verify that the regex does not appear vulnerable to ReDoS.
var reg = new RegExp('(\\s|^)' + className + '(\\s|$)'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/photoswipe-4.1.3/photoswipe.js line 63
- Likely real
- Yes, 100% confidence
RegExp() called with a `className` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled input, consider performing input validation or use a regex checking/sanitization library such as https://www.npmjs.com/package/recheck to verify that the regex does not appear vulnerable to ReDoS.
return el.className && new RegExp('(^|\\s)' + className + '(\\s|$)').test(el.className); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 4798
- Likely real
- Yes, 100% confidence
RegExp() called with a `types` function argument, this might allow an attacker to cause a Regular Expression Denial-of-Service (ReDoS) within your application as RegExP blocks the main thread. For this reason, it is recommended to use hardcoded regexes instead. If your regex is run on user-controlled input, consider performing input validation or use a regex checking/sanitization library such as https://www.npmjs.com/package/recheck to verify that the regex does not appear vulnerable to ReDoS.
new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/main.php line 67
- Likely real
- Yes, 100% confidence
<- A new object is created where the class name is based on user input. This could lead to remote code execution, as it allows to instantiate any class in the application.
$fp_admin = new $panelclass($smarty); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/editor.php line 39
- Likely real
- Yes, 98% confidence
Found direct access to a PHP variable wihout HTML escaping inside an inline PHP statement setting data from `$_REQUEST[...]`. When untrusted input can be used to tamper with a web page rendering, it can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
echo $plang ['simple_pre'] . $plang [$do] . "</a></li>\n"; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/editor.php line 40
- Likely real
- Yes, 98% confidence
Found direct access to a PHP variable wihout HTML escaping inside an inline PHP statement setting data from `$_REQUEST[...]`. When untrusted input can be used to tamper with a web page rendering, it can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
echo "<li><a href=\"" . $manage . "\">" . $plang ['simple_manage'] . "</a></li>\n"; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/prettyurls/plugin.prettyurls.php line 495
- Likely real
- Yes, 98% confidence
Found direct access to a PHP variable wihout HTML escaping inside an inline PHP statement setting data from `$_REQUEST[...]`. When untrusted input can be used to tamper with a web page rendering, it can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
echo 'flatpress-prettyurls-probe:' . $mode; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 251
- Likely real
- Yes, 98% confidence
Found direct access to a PHP variable wihout HTML escaping inside an inline PHP statement setting data from `$_REQUEST[...]`. When untrusted input can be used to tamper with a web page rendering, it can lead to a Cross-site scripting (XSS) vulnerability. XSS vulnerabilities occur when untrusted input executes malicious JavaScript code, leading to issues such as account compromise and sensitive information leakage. To prevent this vulnerability, validate the user input, perform contextual output encoding or sanitize the input. In PHP you can encode or sanitize user input with `htmlspecialchars` or use automatic context-aware escaping with a template engine such as Latte.
echo ' <input id="pl_file_meta" type="hidden" name="pl_file_meta" value="' . $file_meta . '">'; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/main.php line 60
- Likely real
- Yes, 98% confidence
The application builds a file path from potentially untrusted data, which can lead to a path traversal vulnerability. An attacker can manipulate the file path which the application uses to access files. If the application does not validate user input and sanitize file paths, sensitive files such as configuration or user data can be accessed, potentially creating or overwriting files. In PHP, this can lead to both local file inclusion (LFI) or remote file inclusion (RFI) if user input reaches this statement. To prevent this vulnerability, validate and sanitize any input that is used to create references to file paths. Also, enforce strict file access controls. For example, choose privileges allowing public-facing applications to access only the required files.
include ($panelpath); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /setup/main.php line 87
- Likely real
- Yes, 98% confidence
The application builds a file path from potentially untrusted data, which can lead to a path traversal vulnerability. An attacker can manipulate the file path which the application uses to access files. If the application does not validate user input and sanitize file paths, sensitive files such as configuration or user data can be accessed, potentially creating or overwriting files. In PHP, this can lead to both local file inclusion (LFI) or remote file inclusion (RFI) if user input reaches this statement. To prevent this vulnerability, validate and sanitize any input that is used to create references to file paths. Also, enforce strict file access controls. For example, choose privileges allowing public-facing applications to access only the required files.
include __DIR__ . '/lang/' . $lf; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/includes/panels.prototypes.php line 173
- Likely real
- Yes, 97% confidence
Callable based on user input risks remote code execution.
$returnvalue = call_user_func(array( &$this, $event ), $data); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/admin.php line 204
- Likely real
- Yes, 56% confidence
User data flows into the host portion of this manually-constructed URL. This could allow an attacker to send data to their own server, potentially exposing sensitive data such as cookies or authorization information sent with this request. They could also probe internal servers or other resources that the server running this code can access. (This is called server-side request forgery, or SSRF.) Do not allow arbitrary hosts. Instead, create an allowlist for approved hosts, or hardcode the correct host.
$_POST ['akismet_url'] = 'http://' . $_POST ['akismet_url']; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/main.php line 58
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (file_exists($panelpath)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 2142
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
$this->smarty->assign('cantsave', (!is_writable($_SERVER ['DOCUMENT_ROOT']) || (file_exists($f) && !is_writable($f)))); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 2142
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
$this->smarty->assign('cantsave', (!is_writable($_SERVER ['DOCUMENT_ROOT']) || (file_exists($f) && !is_writable($f)))); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 2142
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
$this->smarty->assign('cantsave', (!is_writable($_SERVER ['DOCUMENT_ROOT']) || (file_exists($f) && !is_writable($f)))); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 232
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!file_exists($file_meta)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/uploader/admin.uploader.thumb.php line 108
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (file_exists($f)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/FunctionHandler/HtmlImage.php line 116
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!file_exists($_image_path)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/FunctionHandler/HtmlImage.php line 119
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
} elseif (!is_readable($_image_path)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/admin.php line 652
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (file_exists($f)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/panels/panel.mediamanager.file.php line 263
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!file_exists($type . $name)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/panels/panel.mediamanager.file.php line 267
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!unlink($type . $name)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 2085
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
define('ROBOTS_PATHINFO', !file_exists($_SERVER ['DOCUMENT_ROOT'] . '/robots.txt')); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/panels/panel.mediamanager.file.php line 351
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!fs_is_directorycomponent($file) && !fs_is_hidden_file($file) && !is_dir($fullpath)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/FunctionHandler/HtmlImage.php line 115
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!$_image_data = @getimagesize($_image_path)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/panels/panel.mediamanager.file.php line 347
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (file_exists(ABS_PATH . IMAGES_DIR . $folder)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 2089
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (file_exists($_SERVER ['DOCUMENT_ROOT'] . '/robots.txt')) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/plugin.seometataginfo.php line 2093
- Likely real
- Yes, 55% confidence
File name based on user input risks server-side request forgery.
if (!is_writable($_SERVER ['DOCUMENT_ROOT'])) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/bbcode/plugin.bbcode.php line 517
- Likely real
- Yes, 54% confidence
Make sure comparisons involving md5 values are strict (use `===` not `==`) to avoid type juggling issues
if ($height != $orig_h) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/feed/res/feed.css.php line 3
- Likely real
- Yes, 53% confidence
Access-Control-Allow-Origin response header is set to "*". This will disable CORS Same Origin Policy restrictions.
header('Access-Control-Allow-Origin: *'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 2221
- Likely real
- Yes, 52% confidence
The function `openssl_decrypt` returns either a string of the decrypted data on success or `false` on failure. If the failure case is not handled, this could lead to undefined behavior in your application. Please handle the case where `openssl_decrypt` returns `false`.
$plain = openssl_decrypt($cipher, 'AES-256-CBC', plugin_mastodon_secret_key(), OPENSSL_RAW_DATA, $iv); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/newsletter/plugin.newsletter.php line 525
- Likely real
- Yes, 52% confidence
The function `openssl_decrypt` returns either a string of the decrypted data on success or `false` on failure. If the failure case is not handled, this could lead to undefined behavior in your application. Please handle the case where `openssl_decrypt` returns `false`.
return openssl_decrypt($cipher, 'AES-256-CBC', $crypto ['key'], OPENSSL_RAW_DATA, $iv); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/phpstan.yml line 22
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: shivammathur/setup-php@v2 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/codeql-analysis.yml line 29
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: actions/checkout@v7 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/codeql-analysis.yml line 32
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: github/codeql-action/init@v4 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/codeql-analysis.yml line 37
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: github/codeql-action/autobuild@v4 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/codeql-analysis.yml line 40
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: github/codeql-action/analyze@v4 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /.github/workflows/phpstan.yml line 19
- Likely real
- Yes, 52% confidence
GitHub Actions step uses a mutable tag or branch reference. Tags and branch names can be silently repointed by the action owner, enabling supply-chain attacks — as seen in the trivy-action and kics-github-action compromises. Pin the reference to a full 40-character commit SHA instead, e.g. `uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608`.
uses: actions/checkout@v6 -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 2802
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 1609
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( node = node[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 1955
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 1970
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 1978
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 1983
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
elem = elem[ dir ] || elem; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 3058
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 2730
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 2208
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
elem = elem[ dir ] || elem; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 2203
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 2195
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 1729
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( node = node[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jquery/4.0.0/jquery-4.0.0.js line 2472
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 1729
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( node = node[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 2180
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 2195
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 2203
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 2208
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
elem = elem[ dir ] || elem; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/photoswipe/res/jquery-3.7.1/jquery-3.7.1.js line 2180
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/jquery-ui.js line 413
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
curOption = curOption[ parts[ i ] ]; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 3058
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/jquery/res/jqueryui/1.14.2/external/jquery/jquery.js line 2730
- Likely real
- Uncertain, 44% confidence
Possibility of prototype polluting function detected. By adding or modifying attributes of an object prototype, it is possible to create attributes that exist on every object, or replace critical attributes with malicious ones. This can be problematic if the software depends on existence or non-existence of certain attributes, or uses pre-defined attributes of object prototype (such as hasOwnProperty, toString or valueOf). Possible mitigations might be: freezing the object prototype, using an object without prototypes (via Object.create(null) ), blocking modifications of attributes that resolve to object prototype, using Map instead of object.
while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/lastcomments/plugin.lastcomments.php line 49
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
if (false === ($f = io_load_file(LASTCOMMENTS_CACHE_FILE)) || empty(unserialize($f))) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/lastcomments/plugin.lastcomments.php line 55
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$list = unserialize($f); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.entry.php line 742
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$categories = @unserialize($c); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/fp-smartyplugins/block.cache.php line 393
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$payload = @unserialize($raw); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/lastcomments/plugin.lastcomments.php line 183
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$list = unserialize($f); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/lastcomments/plugin.lastcomments.php line 224
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$list = unserialize($f); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/prettyurls/plugin.prettyurls.php line 85
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$list = $f !== false ? @unserialize($f) : array(); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/prettyurls/plugin.prettyurls.php line 806
- Likely real
- Uncertain, 36% confidence
Calling `unserialize()` with user input in the pattern can lead to arbitrary code execution. Consider using JSON or structured data approaches (e.g. Google Protocol Buffers).
$this->index [$y] [$m] = $s ? unserialize($s) : false; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/maintain/admin.maintain.php line 586
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
$ret = @rename($oldidx, $movedir) ?: (@copy($oldidx, $movedir) && @unlink($oldidx)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 336
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($interface_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.comment.php line 303
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(comment_count_cachefile($id)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 355
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($themes_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 374
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($plugin_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 395
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($content_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 414
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($images_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 433
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($thumbs_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 452
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($attachs_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 471
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($cache_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/admin.php line 381
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(CACHE_DIR . 'tag-widget.tmp'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/admin.php line 387
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(CACHE_DIR . 'tag-ajax.tmp'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/tag/inc/admin.php line 437
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(CACHE_DIR . 'tag-widget.tmp'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 301
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($BASE_DIR . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.comment.php line 260
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(comment_count_cachefile($entryid)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.connection.php line 1183
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
if (!@unlink($itemPath) && file_exists($itemPath)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.entry.php line 179
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
return @unlink($this->_lock_file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.fileio.php line 57
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
$mv = @rename($tmp, $filename) ?: (@copy($tmp, $filename) && @unlink($tmp)); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Cacheresource/File.php line 273
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
$_count += @unlink($_filepath) ? 1 : 0; -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Smarty.php line 1380
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
if ($unlink && is_file($_filepath) && @unlink($_filepath)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 1665
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
return @unlink(PLUGIN_MASTODON_RATE_LIMIT_WINDOW_FILE); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/inc/usage-index.php line 525
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(mediamanager_usage_cache_file()); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/newsletter/plugin.newsletter.php line 1523
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(PLUGIN_NEWSLETTER_DIR . 'manual-flag.txt'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 311
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($BASE_DIR . '/.htaccess.txt'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 279
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($includes_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 260
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($admin_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/support/plugin.support.php line 241
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($config_dir . '/chmod-test-file'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/storage/plugin.storage.php line 52
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($cfdir . 'storage.dirsize.json'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/storage/plugin.storage.php line 51
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($cfdir . 'storage.aggregate.json'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/panels/panel.mediamanager.file.php line 213
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
if (!unlink($folder . "/" . $file)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/newsletter/plugin.newsletter.php line 1747
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink(PLUGIN_NEWSLETTER_DIR . 'manual-flag.txt'); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/inc/migrate_data.php line 110
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
unlink($src); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/calendar/plugin.calendar.php line 129
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($f); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/inc/admin.php line 551
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($f); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/inc/hw-helpers.php line 179
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
unlink($dir); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/inc/migrate_data.php line 57
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
unlink($src); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/seometataginfo/inc/migrate_data.php line 88
- Likely real
- Probably noise, 21% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
unlink($src); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 1206
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($oldest); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin.php line 137
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($path); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /admin/panels/maintain/admin.maintain.php line 583
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($movedir); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.connection.php line 1266
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($marker); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.entry.php line 154
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($this->_lock_file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.fileio.php line 56
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($filename); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mediamanager/inc/usage-index.php line 543
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 11624
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($oldAvatarPath); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 11615
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($temp); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 11611
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($target); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 8173
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($path); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 4326
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 3873
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.fileio.php line 196
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
return @unlink($filename); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/mastodon/plugin.mastodon.php line 1200
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-plugins/commentcenter/plugin.commentcenter.php line 457
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
if (!@unlink($f)) { -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Smarty.php line 1785
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($_tmp_file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Smarty.php line 1772
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($_filepath); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Smarty.php line 1761
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($_tmp_file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Smarty.php line 1750
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($_tmp_file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Smarty.php line 1738
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($_filepath); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/smarty-5.8.4/src/Cacheresource/File.php line 330
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($cached->lock_id); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/fp-smartyplugins/block.cache.php line 424
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
@unlink($file); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.users.php line 205
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
return unlink($userfile); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.gallery.php line 158
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
unlink($legacyCaptionfilePath); -
- Engine
- Semgrep · Pattern-based code analysis
- Counts towards
- Vulnerability
- File
- /fp-includes/core/core.filesystem.php line 208
- Likely real
- Probably noise, 20% confidence
Using user input when deleting files with `unlink()` is potentially dangerous. A malicious actor could use this to modify or access files they have no right to.
$fsuccess = @unlink($path);
No findings match these filters.