Tripadvisor Shortcode Security & Risk Analysis

wordpress.org/plugins/tripadvisor-shortcode

I have been told by TripAdvisor that they are about to turn off the business owner rss feeds. This plugin no longer works.

100 active installs v2.2 PHP + WP 3.0+ Updated Apr 22, 2014
holidayshotelsrestaurantstripadvisorvacations
63
C · Use Caution
CVEs total1
Unpatched1
Last CVEAug 25, 2025
Safety Verdict

Is Tripadvisor Shortcode Safe to Use in 2026?

Use With Caution

Score 63/100

Tripadvisor Shortcode has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

1 known CVE 1 unpatched Last CVE: Aug 25, 2025Updated 12yr ago
Risk Assessment

The 'tripadvisor-shortcode' plugin version 2.2 exhibits a mixed security posture. On the positive side, it demonstrates good practices by utilizing prepared statements for all SQL queries and having a limited attack surface with only one entry point (a shortcode) and no unprotected AJAX handlers or REST API routes. The presence of a capability check on its single shortcode is also a positive indicator for access control.

However, significant concerns arise from the lack of output escaping. With 100% of its three identified outputs being unescaped, this presents a clear vulnerability to Cross-Site Scripting (XSS) attacks. This is further validated by its vulnerability history, which includes a medium severity XSS vulnerability, indicating a recurring pattern of insecure output handling. The absence of nonce checks is also a point of concern, as it could potentially be exploited in conjunction with other weaknesses, although the current data does not highlight specific flows that would leverage this.

In conclusion, while the plugin avoids common pitfalls like raw SQL queries and a broad attack surface, the pervasive issue of unescaped output creates a significant security risk. The past XSS vulnerability strongly suggests this is not an isolated incident, and the unpatched status of a medium severity vulnerability dated in the future is a critical alarm bell. Users should exercise extreme caution and ensure the plugin is updated to a version that addresses these output escaping and vulnerability issues.

Key Concerns

  • Unpatched medium severity CVE
  • 100% of outputs unescaped
  • Missing nonce checks
Vulnerabilities
1 published

Tripadvisor Shortcode Security Vulnerabilities

CVEs by Year

1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-48313medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Tripadvisor Shortcode <= 2.2 - Authenticated (Administrator+) Stored Cross-Site Scripting

Aug 25, 2025Unpatched
Version History

Tripadvisor Shortcode Release Timeline

v2.2Current1 CVE
v2.11 CVE
v2.01 CVE
v1.01 CVE
Code Analysis
Analyzed Mar 16, 2026

Tripadvisor Shortcode Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
3
0 escaped
Nonce Checks
0
Capability Checks
1
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

0% escaped3 total outputs
Attack Surface

Tripadvisor Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[tripadvisorsc] tripadvisorsc.php:146
WordPress Hooks 2
actionadmin_menutripadvisorsc.php:30
actionadmin_inittripadvisorsc.php:37
Maintenance & Trust

Tripadvisor Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedApr 22, 2014
PHP min version
Downloads18K

Community Trust

Rating66/100
Number of ratings4
Active installs100
Developer Profile

Tripadvisor Shortcode Developer Profile

kevin heath

5 plugins · 9K total installs

81
trust score
Avg Security Score
81/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Tripadvisor Shortcode

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Script Paths
http://www.tripadvisor.com/FeedsJS?f=hotels&defaultStyles=n&d=http://c1.tacdn.com/img/logos_ta/logo_125px.gifhttp://c1.tacdn.com/img/flags/uk.gifhttp://c1.tacdn.com/img/flags/es.gifhttp://c1.tacdn.com/img/flags/de.gifhttp://c1.tacdn.com/img/flags/fr.gif+1 more

HTML / DOM Fingerprints

CSS Classes
wrapdonate_containerTA_HeaderTA_LinkTA_ContainerTA_Flags2
HTML Comments
This plugin no longer works. TripAdvisor are about to turn off the business rss feeds that this plugin need.
Data Attributes
name="tripadvisor_url"name="tripadvisor_name"name="tripadvisor_id"name="tripadvisor_buff"
JS Globals
window.realAlertwindow.alert
Shortcode Output
<script src="http://www.tripadvisor.com/FeedsJS?f=hotels&defaultStyles=n&d=<script>window.realAlert = window.alert;window.alert = function() {};<div id="TA_Header">brought to you by<br/>
FAQ

Frequently Asked Questions about Tripadvisor Shortcode