External CSS Files Node

Cascading Style Sheets (CSS) is a mechanism that helps developers add style to web documents, such as fonts and colors.

CSS files can be internal or external. Internal CSS files allow you to add your style code within HTML. With external CSS files, you write CSS codes in a different file and insert a link to this file within HTML code. This method saves you from writing style code within HTML and presents a clearer HTML file. For example, Bootstrap originally developed by a team at Twitter is an example of external CSS. You can also write your own CSS without using libraries such as Bootstrap.

To protect your web application from attacks, it is recommended that you load CSS files from third parties like CDN (Content Delivery Network) with caution. It is not good practice to link random external CSS files, as they might have been tampered with (or could be tampered with in the future) by someone determined to execute malicious code.

CSS Injection is closely related to Cross-site Scripting (XSS) attacks. With this type of injection, attackers can execute arbitrary JavaScript, read sensitive information such as synchronizer token patterns, and capture sensitive data.

During the scan, Acunetix 360 identifies all external CSS files detected in the target web application.

To verify the integrity of CSS files, you can use Subresource Integrity (SRI). This is a security feature that enables browsers to confirm that third-party resources like CDN are delivered without unexpected manipulation. During a scan, Acunetix 360 also checks if SRI has been implemented, and reports its findings.

Once the scan is completed, all external CSS files are listed under the External CSS Files node in the Knowledge Base. You can access the same information in the Knowledge Base Report and Knowledge Base Tab.

if_Gnome-Dialog-Information-64_55568.png

Information

Acunetix 360 forms Knowledge Base nodes on its findings. If the External CSS Files node is not listed, it means that Acunetix 360 did not find any.

For further information, see Knowledge Base Nodes.
How to View the External CSS Files Node in Acunetix 360
  1. Log in to Acunetix 360.
  2. From the main menu, click Scans, then Recent Scans. The Recent Scans window is displayed.
  3. Next to the relevant website, click Report.
  4. From the Technical Report section, click the Knowledge Base tab.
  5. Click the External CSS Files node. The information is displayed in an External CSS Files tab.

 

« Back to the Acunetix Support Page