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/day/single-featured.php (8 issues)

1
<?php
2
/**
3
 * Day View Single Featured Event
4
 * This file contains one featured event in the day view
5
 *
6
 * Override this template in your own theme by creating a file at [your-theme]/tribe-events/day/single-featured.php
7
 *
8
 * @version 4.5.6
9
 * @package TribeEventsCalendarPro
10
 */
11
12
if ( ! defined( 'ABSPATH' ) ) {
13
	die( '-1' );
14
}
15
16
$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

16
$venue_details = /** @scrutinizer ignore-call */ tribe_get_venue_details();
Loading history...
17
18
// Venue microformats.
19
$has_venue         = ( $venue_details ) ? ' vcard' : '';
20
$has_venue_address = ( ! empty( $venue_details['address'] ) ) ? ' location' : '';
21
22
// Event Image.
23
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

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

30
		<a class="url" href="<?php echo esc_url( /** @scrutinizer ignore-call */ tribe_get_event_link() ); ?>" title="<?php the_title_attribute(); ?>" rel="bookmark">
Loading history...
31
			<?php the_title(); ?>
32
		</a>
33
	</h2>
34
	<?php do_action( 'tribe_events_after_the_event_title' ); ?>
35
36
	<!-- Event Meta -->
37
	<?php do_action( 'tribe_events_before_the_meta' ); ?>
38
	<div class="tribe-events-event-meta <?php echo esc_attr( $has_venue . $has_venue_address ); ?>">
39
40
		<!-- Schedule & Recurrence Details -->
41
		<div class="tribe-updated published time-details">
42
			<?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

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

55
	<?php if ( /** @scrutinizer ignore-call */ tribe_get_cost() ) : ?>
Loading history...
56
		<div class="tribe-events-event-cost">
57
			<?php esc_html_e( 'Price:', 'lsx' ); ?>
58
			<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...
59
			<?php
60
			/** This action is documented in the-events-calendar/src/views/list/single-event.php */
61
			do_action( 'tribe_events_inside_cost' )
62
			?>
63
		</div>
64
	<?php endif; ?>
65
66
	<!-- Event Content -->
67
	<?php do_action( 'tribe_events_before_the_content' ); ?>
68
	<div class="tribe-events-list-event-description tribe-events-content description entry-summary">
69
		<?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

69
		<?php echo wp_kses_post( /** @scrutinizer ignore-call */ tribe_events_get_the_excerpt() ); ?>
Loading history...
70
		<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>
71
	</div><!-- .tribe-events-list-event-description -->
72
73
	<?php do_action( 'tribe_events_after_the_content' ); ?>
74
</div>
75