Safelayout Cute Preloader - CSS3 Wordpress Preloader - Reflected cross-site scripting (XSS)

Summary

Name Safelayout Cute Preloader - CSS3 Wordpress Preloader 2.0.96 - Reflected cross-site scripting (XSS)
Code nameskims-56
Product Safelayout Cute Preloader - CSS3 Wordpress Preloader
Affected versionsVersion 2.0.96
StatePrivate
Release date2025-01-03

Vulnerability

KindReflected cross-site scripting (XSS)
RuleReflected cross-site scripting (XSS)
RemoteNo
CVSSv4 VectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:L/VA:L/SC:L/SI:L/SA:L/E:U
Exploit availableNo
CVE ID(s)cve-2020-2020

Description

Safelayout Cute Preloader - CSS3 Wordpress Preloader 2.0.96 was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/inc/class-safelayout-preloader-adm in.php.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in Safelayout Cute Preloader - CSS3 Wordpress Preloader 2.0.96. The following is the output of the tool:

Skims output

 293 |
 294 | // ajax handlers
 295 | public function add_preloader_meta_box_ajax_handler() {
 296 | check_ajax_referer( 'slpl_preloader_ajax' );
 297 | $key = $_POST['key'];
 298 | if ( $key == 'show' ) {
 299 | update_option( 'safelayout_preloader_options_meta', true );
 300 | } else {
 301 | update_option( 'safelayout_preloader_options_meta', false );
 302 | }
>  303 |    echo $key;
   304 |
   305 |    wp_die();
   306 |   }
   307 |
   308 |   // ajax handlers for feedback
   309 |   public function preloader_feedback_ajax_handler() {
   310 |    check_ajax_referer( 'slpl_preloader_ajax' );
   311 |    $type = sanitize_text_field( $_POST['type'] );
   312 |    $text = sanitize_text_field( $_POST['text'] );
   313 |    $apiUrl = 'https://safelayout.com/feedback/feedback.php';
       ^ Col 0

Our security policy

We have reserved the ID cve-2020-2020 to refer to this issue from now on.

System Information

  • Version: Safelayout Cute Preloader - CSS3

Wordpress Preloader 2.0.96

Mitigation

There is currently no patch available for this vulnerability.

Credits

The vulnerability was discovered by Andres Roldan from Fluid Attacks' Offensive Team using Skims

Timeline

Time-lapse-logo

2025-01-03

Vulnerability discovered.

Time-lapse-logo

2025-01-03

Vendor contacted.

Fluid Logo Footer

Hacking software for over 20 years

Fluid Attacks tests applications and other systems, covering all software development stages. Our team assists clients in quickly identifying and managing vulnerabilities to reduce the risk of incidents and deploy secure technology.

Copyright © 0 Fluid Attacks. We hack your software. All rights reserved.