Changeset 3454861
- Timestamp:
- 02/05/2026 05:40:25 PM (7 weeks ago)
- Location:
- conveythis-translate/trunk
- Files:
-
- 4 edited
-
app/class/ConveyThis.php (modified) (1 diff)
-
changelog.txt (modified) (1 diff)
-
index.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
conveythis-translate/trunk/app/class/ConveyThis.php
r3454136 r3454861 373 373 $unslashed = wp_unslash($incoming[$field]); 374 374 375 // SECURITY FIX: Block serialized input to prevent PHP Object Injection 375 376 if (is_serialized($unslashed)) { 376 if (version_compare(PHP_VERSION, '7.0.0', '>=')) { 377 $value = @unserialize($unslashed, ['allowed_classes' => false]); 378 if ($value === false && $unslashed !== serialize(false)) { 379 wp_send_json_error('Invalid data format'); 380 return; 381 } 382 } else { 383 if (preg_match('/O:\d+:"/', $unslashed)) { 384 wp_send_json_error('Invalid data format'); 385 return; 386 } 387 $value = maybe_unserialize($unslashed); 388 } 389 } else { 390 $value = $unslashed; 391 } 377 // Skip this field but continue processing others 378 $this->print_log("SECURITY: Blocked serialized data in field: $field"); 379 continue; // Skip this field, continue with others 380 } 381 382 $value = $unslashed; 392 383 393 384 if ($field === 'style_change_language' || $field === 'style_change_flag') { -
conveythis-translate/trunk/changelog.txt
r3454136 r3454861 1 1 == Changelog == 2 = 269.3 = 3 * Fix vulnerability 4 2 5 = 269.2 = 3 6 * Added per-language flag customization and fixed a Patchstack-reported security issue. -
conveythis-translate/trunk/index.php
r3454136 r3454861 4 4 Plugin URI: https://www.conveythis.com/?utm_source=widget&utm_medium=wordpress 5 5 Description: Translate your WordPress site into over 100 languages using professional and instant machine translation technology. ConveyThis will help provide you with an SEO-friendy, multilingual website in minutes with no coding required. 6 Version: 269. 26 Version: 269.3 7 7 8 8 Author: ConveyThis Translate Team -
conveythis-translate/trunk/readme.txt
r3454136 r3454861 6 6 Tested up to: 6.9 7 7 8 Stable tag: 269. 28 Stable tag: 269.3 9 9 10 10 License: GPLv2 … … 218 218 219 219 == Changelog == 220 = 269.3 = 221 * Fix vulnerability 222 220 223 = 269.2 = 221 224 * Added per-language flag customization and fixed a Patchstack-reported security issue.
Note: See TracChangeset
for help on using the changeset viewer.