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-featured.php (9 issues)

1
<?php
2
/**
3
 * List View Single Featured Event
4
 * This file contains one featured 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-featured.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
// Venue.
20
$has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';
21
22
// Organizer.
23
$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

23
$organizer = /** @scrutinizer ignore-call */ tribe_get_organizer();
Loading history...
24
25
// Event Image.
26
echo wp_kses_post( tribe_event_featured_image( null, 'large' ) );
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

26
echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_event_featured_image( null, 'large' ) );
Loading history...
27
?>
28
29
<div class="tribe-events-event-content">
30
	<!-- Event Title -->
31
	<?php do_action( 'tribe_events_before_the_event_title' ); ?>
32
	<h2 class="tribe-events-list-event-title">
33
		<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

33
		<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...
34
			<?php the_title(); ?>
35
		</a>
36
37
		<span class="label label-default"><?php esc_html_e( 'Featured', 'lsx' ); ?></span>
38
	</h2>
39
	<?php do_action( 'tribe_events_after_the_event_title' ); ?>
40
41
	<!-- Event Meta -->
42
	<?php do_action( 'tribe_events_before_the_meta' ); ?>
43
	<div class="tribe-events-event-meta">
44
		<div class="author <?php echo esc_attr( $has_venue_address ); ?>">
45
46
			<!-- Schedule & Recurrence Details -->
47
			<div class="tribe-event-schedule-details">
48
				<?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

48
				<?php echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_events_event_schedule_details() ); ?>
Loading history...
49
			</div>
50
51
			<?php if ( $venue_details ) : ?>
52
				<!-- Venue Display Info -->
53
				<div class="tribe-events-venue-details">
54
					<?php echo wp_kses_post( implode( ', ', $venue_details ) ); ?>
55
					<?php
56
					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

56
					if ( /** @scrutinizer ignore-call */ tribe_show_google_map_link() ) {
Loading history...
57
						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

57
						echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_get_map_link_html() );
Loading history...
58
					}
59
					?>
60
				</div> <!-- .tribe-events-venue-details -->
61
			<?php endif; ?>
62
63
		</div>
64
	</div><!-- .tribe-events-event-meta -->
65
	<?php do_action( 'tribe_events_after_the_meta' ); ?>
66
67
	<!-- Event Cost -->
68
	<?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

68
	<?php if ( /** @scrutinizer ignore-call */ tribe_get_cost() ) : ?>
Loading history...
69
		<div class="tribe-events-event-cost featured-event">
70
			<?php esc_html_e( 'Price:', 'lsx' ); ?>
71
			<span class="ticket-cost"><?php echo esc_html( tribe_get_cost( null, true ) ); ?></span>
72
			<?php
73
			/** This action is documented in the-events-calendar/src/views/list/single-event.php */
74
			do_action( 'tribe_events_inside_cost' )
75
			?>
76
		</div>
77
	<?php endif; ?>
78
79
	<!-- Event Content -->
80
	<?php do_action( 'tribe_events_before_the_content' ); ?>
81
	<div class="tribe-events-list-event-description tribe-events-content">
82
		<?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

82
		<?php echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_events_get_the_excerpt() ); ?>
Loading history...
83
		<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>
84
	</div><!-- .tribe-events-list-event-description -->
85
86
	<?php do_action( 'tribe_events_after_the_content' ); ?>
87
</div>
88