---
title: Possible Use Of Private Data – UI Policy scriptTrue
description: "Impact Area Security Severity Warning Affected Element UI Policy ## Rule number **SN-0340 **(for ServiceNow) ## Impact Storing private or sensitive data such as passwords in your code can lead to security vulnerabilities. ## Remediation Ensure that sensitive data is only…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/data-privacy-and-gdpr-o365/possible-use-of-private-data-ui-policy-scripttrue/"
updated: "2025-03-21"
category: Data Privacy and GDPR O365
---

# Possible Use Of Private Data – UI Policy scriptTrue

Impact Area

Security

           Severity

Warning

           Affected Element

UI Policy

## Rule number

**SN-0340 **(for ServiceNow)

## Impact

Storing private or sensitive data such as passwords in your code can lead to security vulnerabilities.

## Remediation

Ensure that sensitive data is only used in code where strictly necessary, and never logged.

### Time to fix

50 min

## References

This rule is linked to [Common Weakness Enumeration CWE-259 Use of Hard-coded Password](https://cwe.mitre.org/data/definitions/259.html).
