CVE-2018-2505 Cross-site scripting in SAP Commerce (SAP Hybris Commerce)
Attackers can inject malicious scripts into SAP Commerce storefronts due to insufficient input validation, potentially compromising user sessions.
- 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-2505?
CVE-2018-2505 is a medium-severity cross-site scripting vulnerability in SAP Commerce (SAP Hybris Commerce), published on 11 Dec 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
SAP Commerce does not sufficiently validate user-controlled inputs, resulting in Cross-Site Scripting (XSS) vulnerability in storefronts that are based on the product. Fixed in versions (SAP Hybris Commerce, versions 6.2, 6.3, 6.4, 6.5, 6.6, 6.7).
Weakness: CWE-79
Which versions are affected by CVE-2018-2505?
It affects 1 product.
Products include Sap Hybris.
How do I fix CVE-2018-2505?
No fix has been published for CVE-2018-2505 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-2505 being exploited?
There is no known exploitation of CVE-2018-2505 in the wild and no public exploit code.
Other vulnerabilities in SAP Commerce (SAP Hybris Commerce)
Sources
Also known as GHSA-p26g-qhrp-vr2c.