CVE-2018-5316: WordPress SagePay Server Gateway - Reflected XSS
- Cve: CVE-2018-5316
- Name: WordPress SagePay Server Gateway - Reflected XSS
- Description: The "SagePay Server Gateway for WooCommerce" plugin before 1.0.9 for WordPress has XSS via the includes/pages/redirect.php page parameter.
- Impact: Attackers can execute arbitrary scripts in the victim's browser, potentially leading to session hijacking or defacement.
- Remediation: Update to version 1.0.9 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to visit a malicious URL
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.03685
- Epss percentile: 0.89973
- Assignee: [email protected]
- Published at: 2018-01-09T22:29:00Z
- Age in days: 3241
- Modified at: 2026-06-17T02:00:07Z
- Patch available: yes
- References total: 4
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2018-5316
- Nvd status: modified
- Checked, none or zero: known exploited entries, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Nuclei templates
| Id | Url |
|---|---|
| CVE-2018-5316 | https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-5316.yaml |
References
| Url | Source | Tags |
|---|---|---|
| https://packetstormsecurity.com/files/145459/WordPress-Sagepay-Server-Gateway-For-WooCommerce-1.0.7-XSS.html | nvd | Third Party Advisory, VDB Entry |
| https://wordpress.org/plugins/sagepay-server-gateway-for-woocommerce/#developers | nvd | Third Party Advisory |
| https://wordpress.org/support/topic/sagepay-server-gateway-for-woocommerce-1-0-7-cross-site-scripting/#post-9792337 | nvd | Third Party Advisory |
| https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-5316.yaml | nuclei_template | Nuclei Template |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| patsatech:sagepay_server_gateway_for_woocommerce | < 1.0.9 | no | nvd | /v1/products/patsatech/sagepay_server_gateway_for_woocommerce |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Exploitation seen: yes
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, initial access since, hackerone reports, exposed hosts