CVE-2024-24931 MEDIUM

CVE-2024-24931: WordPress Before After Image Slider WP Plugin <= 2.2 is vulnerable to Cross Site Scripting (XSS)

Vendor Swadeshswain
Product Before After Image Slider WP
Weakness CWE-79 · XSS
Published February 12, 2024
Last update April 28, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in swadeshswain Before After Image Slider WP allows Stored XSS.This issue affects Before After Image Slider WP: from n/a through 2.2.

Explanation of Vulnerability in Simple Terms

02Summary

The Before After Image Slider WP plugin through version 2.2 contains a stored cross-site scripting (XSS) vulnerability. An authenticated user with low privileges can inject malicious scripts into the plugin's settings. When other users, including administrators, view the affected page, the injected script executes in their browser, potentially allowing the attacker to steal session tokens or perform actions on their behalf.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that execute when other site users view the affected page.

Potential impact on your site

04Site Impact

Attackers with low-privilege accounts can compromise admin sessions and take control of your site.

Conditions required to exploit

05Prerequisites

Attacker needs a low-privilege user account and must trick a higher-privilege user into viewing the compromised page.

Key dates

06Disclosure timeline

February 12, 2024 CVE published
April 28, 2026 Record updated

Related vulnerabilities

08Related CVE