cxnleach / Vuln_GO_App

MIT License
0 stars 0 forks source link

CX Client_Hardcoded_Domain @ template/elements.html [master] #74

Open github-actions[bot] opened 1 month ago

github-actions[bot] commented 1 month ago

Client_Hardcoded_Domain issue exists @ template/elements.html in branch master

*The JavaScript file imported in "https://maps.googleapis.com/maps/api/js?key=AIzaSyCjCGmQ0Uq4exrzdcL6rvxywDDOvfAu6eE" in template\elements.html at line 812 is from a remote domain, which may allow attackers to replace its contents with malicious code.Similarity ID: 1645160494

The JavaScript file imported in "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" in template\elements.html at line 802 is from a remote domain, which may allow attackers to replace its contents with malicious code.Similarity ID: 1719705870*

Severity: Low

CWE:829

Vulnerability details and guidance

Internal Guidance

Checkmarx

Training Recommended Fix

Lines: 802 812


Code (Line #802):

<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4"

Code (Line #812):

<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCjCGmQ0Uq4exrzdcL6rvxywDDOvfAu6eE"></script>

github-actions[bot] commented 1 month ago

Issue still exists.