Issues (461)

Branch: master

Security Analysis    not enabled

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

  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.
  Regex Injection
Regex Injection enables an attacker to execute arbitrary code in your PHP process.
  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.
  Response Splitting
Response Splitting can be used to send arbitrary responses.
  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.
  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.
  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.
  Code Injection
Code Injection enables an attacker to execute arbitrary code on the server.
  Variable Injection
Variable Injection enables an attacker to overwrite program variables with custom data, and can lead to further vulnerabilities.
  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.
  Other Vulnerability
This category comprises other attack vectors such as manipulating the PHP runtime, loading custom extensions, freezing the runtime, or similar.
  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.
  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.
  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.
  Header Injection
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.

tribe-events/list/single-event.php (13 issues)

1
<?php
2
/**
3
 * List View Single Event
4
 * This file contains one event in the list view
5
 *
6
 * Override this template in your own theme by creating a file at [your-theme]/tribe-events/list/single-event.php
7
 *
8
 * @version 4.6.3
9
 * @package TribeEventsCalendarPro
10
 */
11
12
if ( ! defined( 'ABSPATH' ) ) {
13
	die( '-1' );
14
}
15
16
// Setup an array of venue details for use later in the template.
17
$venue_details = tribe_get_venue_details();
0 ignored issues
show
The function tribe_get_venue_details was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

17
$venue_details = /** @scrutinizer ignore-call */ tribe_get_venue_details();
Loading history...
18
19
// The address string via tribe_get_venue_details will often be populated even when there's
20
// no address, so let's get the address string on its own for a couple of checks below.
21
$venue_address = tribe_get_address();
0 ignored issues
show
The function tribe_get_address was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

21
$venue_address = /** @scrutinizer ignore-call */ tribe_get_address();
Loading history...
22
23
// Venue.
24
$has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';
25
26
// Organizer.
27
$organizer = tribe_get_organizer();
0 ignored issues
show
The function tribe_get_organizer was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

27
$organizer = /** @scrutinizer ignore-call */ tribe_get_organizer();
Loading history...
28
29
// Event Image.
30
echo wp_kses_post( tribe_event_featured_image( null, 'medium' ) );
0 ignored issues
show
The function tribe_event_featured_image was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

30
echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_event_featured_image( null, 'medium' ) );
Loading history...
31
?>
32
33
<div class="tribe-events-event-content">
34
	<!-- Event Title -->
35
	<?php do_action( 'tribe_events_before_the_event_title' ); ?>
36
	<h2 class="tribe-events-list-event-title">
37
		<a class="tribe-event-url" href="<?php echo esc_url( tribe_get_event_link() ); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark">
0 ignored issues
show
The function tribe_get_event_link was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

37
		<a class="tribe-event-url" href="<?php echo esc_url( /** @scrutinizer ignore-call */ tribe_get_event_link() ); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark">
Loading history...
38
			<?php the_title(); ?>
39
		</a>
40
	</h2>
41
	<?php do_action( 'tribe_events_after_the_event_title' ); ?>
42
43
	<!-- Event Meta -->
44
	<?php do_action( 'tribe_events_before_the_meta' ); ?>
45
	<div class="tribe-events-event-meta">
46
		<div class="author <?php echo esc_attr( $has_venue_address ); ?>">
47
48
			<!-- Schedule & Recurrence Details -->
49
			<div class="tribe-event-schedule-details">
50
				<?php echo wp_kses_post( tribe_events_event_schedule_details() ); ?>
0 ignored issues
show
The function tribe_events_event_schedule_details was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

50
				<?php echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_events_event_schedule_details() ); ?>
Loading history...
51
			</div>
52
53
			<?php if ( $venue_details ) : ?>
54
				<!-- Venue Display Info -->
55
				<div class="tribe-events-venue-details">
56
				<?php
57
				$address_delimiter = empty( $venue_address ) ? ' ' : ', ';
58
59
				// These details are already escaped in various ways earlier in the process.
60
				echo implode( $address_delimiter, $venue_details );
0 ignored issues
show
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$address_delimiter'.
Loading history...
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found '$venue_details'.
Loading history...
61
62
				if ( tribe_show_google_map_link() ) {
0 ignored issues
show
The function tribe_show_google_map_link was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

62
				if ( /** @scrutinizer ignore-call */ tribe_show_google_map_link() ) {
Loading history...
63
					echo wp_kses_post( tribe_get_map_link_html() );
0 ignored issues
show
The function tribe_get_map_link_html was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

63
					echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_get_map_link_html() );
Loading history...
64
				}
65
				?>
66
				</div> <!-- .tribe-events-venue-details -->
67
			<?php endif; ?>
68
69
		</div>
70
	</div><!-- .tribe-events-event-meta -->
71
72
	<!-- Event Cost -->
73
	<?php if ( tribe_get_cost() ) : ?>
0 ignored issues
show
The function tribe_get_cost was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

73
	<?php if ( /** @scrutinizer ignore-call */ tribe_get_cost() ) : ?>
Loading history...
74
		<div class="tribe-events-event-cost">
75
			<?php esc_html_e( 'Price:', 'lsx' ); ?>
76
			<span class="ticket-cost"><?php echo tribe_get_cost( null, true ); ?></span>
0 ignored issues
show
All output should be run through an escaping function (see the Security sections in the WordPress Developer Handbooks), found 'tribe_get_cost'.
Loading history...
77
			<?php
78
			/**
79
			 * Runs after cost is displayed in list style views
80
			 *
81
			 * @since 4.5
82
			 */
83
			do_action( 'tribe_events_inside_cost' )
84
			?>
85
		</div>
86
	<?php endif; ?>
87
88
	<?php do_action( 'tribe_events_after_the_meta' ); ?>
89
90
	<!-- Event Content -->
91
	<?php do_action( 'tribe_events_before_the_content' ); ?>
92
	<div class="tribe-events-list-event-description tribe-events-content description entry-summary">
93
		<?php echo wp_kses_post( tribe_events_get_the_excerpt() ); ?>
0 ignored issues
show
The function tribe_events_get_the_excerpt was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

93
		<?php echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_events_get_the_excerpt() ); ?>
Loading history...
94
		<a href="<?php echo esc_url( tribe_get_event_link() ); ?>" class="tribe-events-read-more" rel="bookmark"><?php esc_html_e( 'Find out more', 'lsx' ); ?></a>
95
	</div><!-- .tribe-events-list-event-description -->
96
97
	<?php do_action( 'tribe_events_after_the_content' ); ?>
98
</div>
99