---
title: AngularJS – XSS Vulnerability Using AngularJS Under 1.6.9 With Firefox
description: "Impact Area Security       Severity High       Affected Element **ServiceNow** UI Script **Salesforce** Static Resource ## Rule number **SN-JSL-004 **(for ServiceNow) **SF-JSL-004** (for Salesforce) ## Impact An XSS Vulnerability exists when using AngularJS versions under 1.6.9 with the…"
url: "https://community-staging.qualityclouds.com/qcdocs/qc/vulnerabilities-in-open-source-libraries-salesforce/angularjs-xss-vulnerability-using-angularjs-under-1-6-9-with-firefox/"
updated: "2025-03-21"
category: Rules
---

# AngularJS – XSS Vulnerability Using AngularJS Under 1.6.9 With Firefox

Impact Area

Security

 

 

 

           Severity

High

 

 

 

           Affected Element

**ServiceNow**

UI Script

**Salesforce**

Static Resource

## Rule number

**SN-JSL-004 **(for ServiceNow)

**SF-JSL-004** (for Salesforce)

## Impact

An XSS Vulnerability exists when using AngularJS versions under 1.6.9 with the Firefox browser. A malicious attacker can write into the “xml:base” attribute on an SVG anchor, introducing arbitrary code.

## Remediation

Update angular.js to the latest version.

### Time to fix

30 min

## References

This rule is linked to [Common Weakness Enumeration CWE-79 Improper Neutralization of Input During Web Page Generation (‘Cross-site Scripting’)](https://cwe.mitre.org/data/definitions/79.html).
