diff --git a/web/reNgine/tasks.py b/web/reNgine/tasks.py
index e83c1813..2c5e0ba4 100644
--- a/web/reNgine/tasks.py
+++ b/web/reNgine/tasks.py
@@ -3671,7 +3671,7 @@ def parse_nuclei_result(line):
'type': line['type'],
'severity': NUCLEI_SEVERITY_MAP[line['info'].get('severity', 'unknown')],
'template': line['template'],
- 'template_url': line['template-url'],
+ 'template_url': line.get('template-url', []),
'template_id': line['template-id'],
'description': line['info'].get('description', ''),
'matcher_name': line.get('matcher-name', ''),
diff --git a/web/startScan/templates/startScan/detail_scan.html b/web/startScan/templates/startScan/detail_scan.html
index bb052f77..0fb1e344 100644
--- a/web/startScan/templates/startScan/detail_scan.html
+++ b/web/startScan/templates/startScan/detail_scan.html
@@ -1752,18 +1752,18 @@ $(document).ready(function() {
const encodedURLData = htmlEncode(data);
if (data.toLowerCase().startsWith('http')) {
- return `
- ${split_into_lines(encodedData, 150)}
+ ${split_into_lines(encodedURLData, 150)}
`;
}
}
return htmlEncode(data || '');
},
"targets": 11,
- }
+ },
{
"render": function ( data, type, row ) {
if (data){
diff --git a/web/startScan/templates/startScan/vulnerabilities.html b/web/startScan/templates/startScan/vulnerabilities.html
index 8731fe8d..1594ebfd 100644
--- a/web/startScan/templates/startScan/vulnerabilities.html
+++ b/web/startScan/templates/startScan/vulnerabilities.html
@@ -199,18 +199,18 @@ $(document).ready(function() {
const encodedURLData = htmlEncode(data);
if (data.toLowerCase().startsWith('http')) {
- return `
- ${split_into_lines(encodedData, 150)}
+ ${split_into_lines(encodedURLData, 150)}
`;
}
}
return htmlEncode(data || '');
},
"targets": 11,
- }
+ },
{
"render": function ( data, type, row ) {
if (data){
diff --git a/web/targetApp/templates/target/summary.html b/web/targetApp/templates/target/summary.html
index 3d2ccf41..4deeddfb 100644
--- a/web/targetApp/templates/target/summary.html
+++ b/web/targetApp/templates/target/summary.html
@@ -1512,18 +1512,18 @@ $(document).ready(function(){
const encodedURLData = htmlEncode(data);
if (data.toLowerCase().startsWith('http')) {
- return `
- ${split_into_lines(encodedData, 150)}
+ ${split_into_lines(encodedURLData, 150)}
`;
}
}
return htmlEncode(data || '');
},
"targets": 11,
- }
+ },
{
"render": function(data, type, row) {
if (data) {