# CVE-2022-4005: Donation Button <= 4.0.0 - Contributor+ Stored XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `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.58%, higher than 49% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-12-12T17:54:39.478Z
- Modified: 2026-06-17T05:19:44.030Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## Description

The Donation Button WordPress plugin through 4.0.0 does not sanitize and escapes some parameters, which could allow users with a role as low as Contributor to perform Cross-Site Scripting attacks.

(As written by CVE List.)

## Affected

- Unknown Donation Button: up to 4.0.0
- donation_button_project donation_button: up to 4.0.0

## Every score

- CISA-ADP: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://wpscan.com/vulnerability/61d5c9b8-5c21-4ab5-b31c-e13ca19ea25c> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

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

---

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