# CVE-2022-4777: Bootstrap Shortcodes <= 3.4.0 - Contributor+ Stored XSS via Shortcode

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 42% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-02-21T08:50:42.128Z
- Modified: 2026-06-17T05:21:48.937Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

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

(As written by CVE List.)

## Affected

- Unknown Bootstrap Shortcodes: up to 3.4.0
- bootstrap_shortcodes_project bootstrap_shortcodes: up to 3.4.0

## References

- <https://wpscan.com/vulnerability/b4c53bef-e868-46f1-965d-720b5b9a931e> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2022-4777](https://www.cve.org/CVERecord?id=CVE-2022-4777), CVE Terms of Use, modified 2025-03-12
- NVD: [CVE-2022-4777](https://nvd.nist.gov/vuln/detail/CVE-2022-4777), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-4777 · Whole record: https://cve.day/CVE-2022-4777.json · Rebuilt by cve.day 2026-11-25T22:58:18.729Z
