CVE-2018-5316 Cross-site scripting in n/a
Cross-site scripting vulnerability in the SagePay Server Gateway for WooCommerce plugin allows attackers to inject malicious scripts via the redirect page parameter.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-5316?
CVE-2018-5316 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Jan 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The "SagePay Server Gateway for WooCommerce" plugin before 1.0.9 for WordPress has XSS via the includes/pages/redirect.php page parameter.
Weakness: CWE-79
Which versions are affected by CVE-2018-5316?
It affects 1 product.
Products include Patsatech Sagepay Server Gateway for Woocommerce.
How do I fix CVE-2018-5316?
No fix has been published for CVE-2018-5316 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-5316 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-5316 exists.
Public exploit code: 1 Nuclei template.
Sources
Also known as GHSA-4hgv-3mwq-cfmg.