Issues (2873)

Security Analysis    not enabled

This project does not seem to handle request data directly as such no vulnerable execution paths were found.

  Cross-Site Scripting
Cross-Site Scripting enables an attacker to inject code into the response of a web-request that is viewed by other users. It can for example be used to bypass access controls, or even to take over other users' accounts.
  File Exposure
File Exposure allows an attacker to gain access to local files that he should not be able to access. These files can for example include database credentials, or other configuration files.
  File Manipulation
File Manipulation enables an attacker to write custom data to files. This potentially leads to injection of arbitrary code on the server.
  Object Injection
Object Injection enables an attacker to inject an object into PHP code, and can lead to arbitrary code execution, file exposure, or file manipulation attacks.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  File Inclusion
File Inclusion enables an attacker to inject custom files into PHP's file loading mechanism, either explicitly passed to include, or for example via PHP's auto-loading mechanism.
  Command Injection
Command Injection enables an attacker to inject a shell command that is execute with the privileges of the web-server. This can be used to expose sensitive data, or gain access of your server.
  SQL Injection
SQL Injection enables an attacker to execute arbitrary SQL code on your database server gaining access to user data, or manipulating user data.
  XPath Injection
XPath Injection enables an attacker to modify the parts of XML document that are read. If that XML document is for example used for authentication, this can lead to further vulnerabilities similar to SQL Injection.
  LDAP Injection
LDAP Injection enables an attacker to inject LDAP statements potentially granting permission to run unauthorized queries, or modify content inside the LDAP tree.
  Header Injection
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  XML Injection
XML Injection enables an attacker to read files on your local filesystem including configuration files, or can be abused to freeze your web-server process.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
Unfortunately, the security analysis is currently not available for your project. If you are a non-commercial open-source project, please contact support to gain access.

ui/admin/help.php (8 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<div class="wrap pods-admin">
2
    <div id="icon-pods" class="icon32"><br /></div>
3
    <h2><?php _e( 'Pods Help', 'pods' ); ?></h2>
4
    <img src="<?php echo esc_url( PODS_URL ); ?>ui/images/pods-logo-notext-rgb-transparent.png" class="pods-leaf-watermark-right" />
5
6
    <h3><?php _e( 'Pods Support' , 'pods'); ?></h3>
0 ignored issues
show
Expected 1 spaces before closing bracket; 0 found
Loading history...
7
8
    <p><?php _e( 'There are many resources available to help you learn to use Pods on our site, <a href="https://pods.io/" target="_blank">Pods.io</a>:', 'pods'); ?></p>
0 ignored issues
show
Expected 1 spaces before closing bracket; 0 found
Loading history...
9
    <ul class="ul-disc">
10
        <li><?php _e('To learn more about using Pods, see the <a href="https://pods.io/docs/" target="_blank">documentation</a>, or our <a href="https://pods.io/tutorials/" target="_blank">tutorials section</a>', 'pods'); ?>.
0 ignored issues
show
Expected 1 spaces after opening bracket; 0 found
Loading history...
Expected 1 spaces before closing bracket; 0 found
Loading history...
11
12
        <li><?php _e( 'To get help with a specific issue, you can ask in our <a href="https://pods.io/forums/" target="_blank">support forums</a>, or in <a href="https://pods.io/forums/chat/" target="_blank">our chat</a>', 'pods'); ?>.
0 ignored issues
show
Expected 1 spaces before closing bracket; 0 found
Loading history...
13
14
        <li><?php _e('To report <strong>bugs or request features</strong>, go to our <a href="https://github.com/pods-framework/pods/issues?sort=updated&direction=desc&state=open" target="_blank">GitHub</a>.', 'pods' ); ?></li>
0 ignored issues
show
Expected 1 spaces after opening bracket; 0 found
Loading history...
15
16
        <li><?php _e( "Pods is open source, so if you want to get into the code and submit your own fixes or features, go at it, we'd love to have you contribute on our project! With GitHub, it's really easy to contribute back, so why not give it a try?", 'pods'); ?></li>
0 ignored issues
show
Expected 1 spaces before closing bracket; 0 found
Loading history...
17
    </ul>
18
19
    <hr />
20
21
    <?php
22
        include_once( ABSPATH . WPINC . '/feed.php' );
23
24
        $feed = fetch_feed( 'https://pods.io/forums/forum/pods-2-x/feed/' );
25
26
        if ( !is_wp_error( $feed ) ) {
27
            $max_items = $feed->get_item_quantity( 10 );
28
            $rss_items = $feed->get_items( 0, $max_items );
29
30
            if ( 0 < $max_items ) {
31
    ?>
32
        <h3><?php _e( 'Latest Forum Posts at <a href="https://pods.io/forums/forum/general-discussion/pods-2-x/" target="_blank">pods.io</a>', 'pods'); ?></h3>
0 ignored issues
show
Expected 1 spaces before closing bracket; 0 found
Loading history...
33
34
        <ul class="ul-disc">
35
            <?php
36
                foreach ( $rss_items as $item ) {
37
                    $authors = $item->get_authors();
38
39
                    $author_text = '';
40
41
                    foreach ( $authors as $author ) {
42
                        $author_text = '<br /> by ';
43
44
                        if ( !empty( $author->link ) )
45
                            $author_text .= '<a href="' . $author->link . '" target="_blank">';
46
47
                        $author_text .= $author->name;
48
49
                        if ( !empty( $author->link ) )
50
                            $author_text .= '</a>';
51
                    }
52
            ?>
53
                <li>
54
                    <a href="<?php echo esc_url( $item->get_permalink() ); ?>"><?php echo esc_html( $item->get_title() ); ?></a>
55
                    <?php echo $author_text; ?>
56
                    <br />
57
                    on <?php echo $item->get_date( 'm/d/Y' ); ?>
58
                </li>
59
            <?php
60
                }
61
            ?>
62
        </ul>
63
64
        <hr />
65
    <?php
66
            }
67
        }
68
69
        $feed = fetch_feed( 'https://github.com/pods-framework/pods/commits/2.x.atom' );
70
71
        if ( !is_wp_error( $feed ) ) {
72
            $max_items = $feed->get_item_quantity( 10 );
73
            $rss_items = $feed->get_items( 0, $max_items );
74
75
            if ( 0 < $max_items ) {
76
    ?>
77
        <h3><?php _e( 'Latest Activity on <a href="http://github.com/pods-framework/pods" target="_blank">GitHub</a>', 'pods' ); ?></h3>
78
79
        <ul class="ul-disc">
80
            <?php
81
                foreach ( $rss_items as $item ) {
82
                    $authors = $item->get_authors();
83
84
                    $author_text = '';
85
86
                    foreach ( $authors as $author ) {
87
                        $author_text = '<br /> by ';
88
89
                        if ( !empty( $author->link ) )
90
                            $author_text .= '<a href="' . $author->link . '" target="_blank">';
91
92
                        $author_text .= $author->name;
93
94
                        if ( !empty( $author->link ) )
95
                            $author_text .= '</a>';
96
                    }
97
            ?>
98
                <li>
99
                    <a href="<?php echo esc_url( $item->get_permalink() ); ?>">Commit</a>: <?php echo esc_html( $item->get_title() ); ?>
100
                    <?php echo $author_text; ?>
101
                    <br />
102
                    on <?php echo $item->get_date( 'm/d/Y' ); ?>
103
                </li>
104
            <?php
105
                }
106
            ?>
107
        </ul>
108
    <?php
109
            }
110
        }
111
    ?>
112
113
</div>
114