---
sourceDocument: Brazil Platform security
sourceDocumentLink: https://www.servicenow.com/docs/r/platform-security

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Platform security

ft:clusterId :

    - psec

bundleId :

    - psec

workflow :

    - Platform


---

# Prevent Users From Accepting Warning To Bypass CSRF Validation \[Updated in Security Center 1.3 and 1.5\]

# Prevent Users From Accepting Warning To Bypass CSRF Validation \[Updated in Security Center
1.3 and 1.5\] {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 2 minutes to read
Summarize  
![AI sparkle icon](https://servicenow.com/docs/portal-asset/ai-sparkle-icon) Summarized using AI  
This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.  

## Summary of Prevent Users From Accepting Warning To Bypass CSRF Validation

This feature enhances security by enforcing strict validation of Cross-Site Request Forgery (CSRF) tokens in ServiceNow instances.
It prevents users from bypassing CSRF validation warnings that appear when a POST request contains a mismatched anti-CSRF token from another active session.
This mitigation is crucial to protect your instance from CSRF attacks, which can compromise data integrity by allowing attackers to perform actions on behalf of users.
Show full answer Show less  

## Key Features

* **Property Configuration:** The system property `glide.security.csrf.strict.validation.mode` controls this behavior. Setting it to **true** enables strict CSRF token validation.
* **Strict Token Validation:** When enabled, if a POST request's anti-CSRF token does not match the current session's token, the request is blocked without allowing users to continue or resubmit it.
* **Prevents Token Reuse:** It stops users from accepting warnings that would otherwise allow resubmission of requests with tokens from other active sessions, closing a vulnerability that could be exploited by attackers.
* **Security Interceptor Behavior:** If the property is set to **false** , users see a Continue button on a redirection page allowing them to resubmit the request with a valid token, potentially enabling an attack. When set to **true**, this option is removed.

## Key Outcomes

* **Improved Security Posture:** Enforcing strict CSRF token validation reduces the risk of CSRF attacks, protecting your instance's data and operations from unauthorized manipulation.
* **Reduced Attack Surface:** By disallowing users from bypassing CSRF warnings, the instance resists social engineering and token leakage exploits that could otherwise be leveraged by attackers.
* **Recommended Best Practice:** The property `glide.security.csrf.strict.validation.mode` is recommended to be set to **true** (default and advised setting) to maintain strong security controls.
* **Functional Impact:** Users will encounter an extra validation step preventing reuse of CSRF tokens, ensuring only valid, current session tokens are accepted for write requests.  
Use the glide.security.csrf.strict.validation.mode property to
enable CSRF token strict validation. If the CSRF token doesn't match, it prevents resubmission
of the request.
This property prevents users from being able to accept a warning which allows a potentially
malicious request to be sent to the instance. This warning appears when a POST request fails
due to having a mis-matched anti-CSRF token belonging to one of the victim's other active
sessions. If glide.security.csrf.strict.validation.mode is not set to
the recommended value of true, then an attacker can formulate a CSRF attack utilizing a
leaked anti-CSRF token from a different active session belonging to the victim. A POST
request to an instance contains an anti-CSRF token within "sysparm_ck" or "X-UserToken"
which matches the user's current session.

If the anti-CSRF token is instead tied to one of the user's other active sessions, the POST
request will return a 302 redirection to security_interceptor.do with a Continue button
available to the user when this property is set to false. Clicking this button will
re-submit the request to the instance, except it will now having a valid anti-CSRF token.
When this property is set to true, the 302 redirection to the security_interceptor.do page
will not display a Continue button and the user will not be allowed to resubmit the
request.A successful CSRF attack will allow an attacker to effectively perform any operation
that the victim is able to perform.

## More information {#sc-csrf-strict-validation__section_more_information}

{#sc-csrf-strict-validation__table_ajc_b43_3kb__entry__2}

| Attribute | Description |
|-|-|
| Property name | glide.security.csrf.strict.validation.mode |
| Configuration type | System Properties (/sys_properties_list.do) |
| Category | [Access control](https://www.servicenow.com/docs/x7vcJqvJ0dwOasc9M2~48A "The access control category audits the process of protecting resources from unauthorized access through granting and denying requests based on a permission model. This includes ensuring an entity accessing a resource holds valid credentials to do so, creating and protecting a well-defined set of roles or permissions and ensuring role or permission controls are protected from replay and tampering.") |
| Purpose | To enforce strict validation of CSRF token, and prevents its reuse. |
| Data type | Boolean |
| Recommended value | true |
| Default value | true |
| Security risk rating | (Medium) Cross site Request Forgery is a significant security risk that violates the integrity of the instance data. An attacker can launch the CSRF attack on any instance user by abusing the trust of the instance user. With the help of social engineering attacks, a user can submit a malformed request to the instance on behalf of the attacker. |
| Security risk rating | 3.7 |
| Functional impact | This remediation enables an extra validation step before the instance user submits a write request to the instance. It checks whether the current CSRF token has been used previously. If Yes, it prevents submission of further write requests. |
| Security risk | (Medium) Cross site Request Forgery is a significant security risk that violates the integrity of the instance data. An attacker can launch the CSRF attack on any instance user by abusing the trust of the instance user. With the help of social engineering attacks, a user can submit a malformed request to the instance on behalf of the attacker. |
[ ]

{#sc-csrf-strict-validation__table_ajc_b43_3kb}

Return to [Configure and upload your customer supplied key](https://www.servicenow.com/docs/fJu8Yy1CWf2Uv61c1zBrvw "You can use your own customer-supplied key instead of using the ServiceNow system-generated keys.") to upload your wrapped key.

