CVE-2018-5681 Cross-site scripting in n/a
Attackers can inject malicious scripts via source-code editing in PrestaShop, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2018-5681?
CVE-2018-5681 is a medium-severity cross-site scripting vulnerability in Prestashop Prestashop, published on 13 Jan 2018. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
PrestaShop 1.7.2.4 has XSS via source-code editing on the "Pages > Edit page" screen.
Weakness: CWE-79
Which versions are affected by CVE-2018-5681?
It affects 1 product.
Products include Prestashop Prestashop.
How do I fix CVE-2018-5681?
No fix has been published for CVE-2018-5681 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-5681 being exploited?
There is no known exploitation of CVE-2018-5681 in the wild and no public exploit code.
Other vulnerabilities in Prestashop Prestashop
Sources
Also known as GHSA-q8h9-vf29-crjc.