Auto Featured Image (Auto Post Thumbnail) - Reflected cross-site scripting (XSS)

Summary

NameAuto Featured Image (Auto Post Thumbnail) 4.1. - Reflected cross-site scripting (XSS)
Code nameskims-28
ProductAuto Featured Image (Auto Post Thumbnail)
Affected versionsVersion 4.1.
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

Auto Featured Image (Auto Post Thumbnail) 4.1. was found to be vulnerable. The web application dynamically generates web content without validating the source of the potentially untrusted data in myapp/includes/class-apt.php.

Vulnerability

Skims by Fluid Attacks discovered a Reflected cross-site scripting (XSS) in Auto Featured Image (Auto Post Thumbnail) 4.1.. The following is the output of the tool:

Skims output

 731 |
 732 | erer( 'set_post_thumbnail-' . $post_id );
 733 | T['_ajax_nonce'];
 734 |
 735 | iv class='apt_thumbs' id='wapt_thumbs'>
 736 | <div class='wapt-grid-item'>
 737 | <div class=""wapt-image-box-library""
 738 | data-choose='<?php echo __( 'Choose featured image', 'apt' ); ?>'
 739 | data-update='<?php echo __( 'Select image', 'apt' ); ?>'
 740 | data-postid='<?php echo $post_id; ?>'
> 741 | data-nonce='<?php echo $nonce; ?>'
 742 | style=""background-color: #a3d2ff;"">
 743 | <div class=""wapt-item-generated""><?php echo __( 'Set featured image from medialibrary', 'apt' ); ?></div>
 744 | </div>
 745 | </div>
 746 | div>
   747 |
   748 |
   749 |
   750 |
   751 | PATH . '/admin/views/pro_column.php';
       ^ Col 18

Our security policy

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

System Information

  • Version: Auto Featured Image (Auto Post

Thumbnail) 4.1.

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.