// For flags

CVE-2022-4777

Bootstrap Shortcodes <= 3.4.0 - Contributor+ Stored XSS via Shortcode

Severity Score

5.4
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

The Bootstrap Shortcodes WordPress plugin through 3.4.0 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks

The BootStrap Shortcodes plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'size', 'type', and 'href' parameters in the 'bs_button' shortcode in versions up to, and including, 3.4.0. This makes it possible for authenticated attackers with the 'edit posts' capability, such as contributors, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. 

*Credits: Lana Codes, WPScan
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-12-28 CVE Reserved
  • 2023-01-27 CVE Published
  • 2024-08-03 CVE Updated
  • 2024-08-03 First Exploit
  • 2024-09-13 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Bootstrap Shortcodes Project
Search vendor "Bootstrap Shortcodes Project"
Bootstrap Shortcodes
Search vendor "Bootstrap Shortcodes Project" for product "Bootstrap Shortcodes"
<= 3.4.0
Search vendor "Bootstrap Shortcodes Project" for product "Bootstrap Shortcodes" and version " <= 3.4.0"
wordpress
Affected