diff --git a/admin/webapp/websrc/app/common/services/containers.service.ts b/admin/webapp/websrc/app/common/services/containers.service.ts index b5341069..7ff29bfd 100644 --- a/admin/webapp/websrc/app/common/services/containers.service.ts +++ b/admin/webapp/websrc/app/common/services/containers.service.ts @@ -305,8 +305,8 @@ export class ContainersService { const score = vul.score !== undefined ? vul.score : ''; const score_v3 = vul.score_v3 !== undefined ? vul.score_v3 : ''; const package_name = vul.package_name || ''; - const package_version = vul.package_version || ''; - const fixed_version = vul.fixed_version || ''; + const package_version = `"${vul.package_version || ''}"`; + const fixed_version = `"${vul.fixed_version || ''}"`; const description = vul.description ? `"${vul.description.replace(/"/g, '""')}"` : ''; diff --git a/admin/webapp/websrc/app/common/services/nodes.service.ts b/admin/webapp/websrc/app/common/services/nodes.service.ts index fe0a9030..07f46abd 100644 --- a/admin/webapp/websrc/app/common/services/nodes.service.ts +++ b/admin/webapp/websrc/app/common/services/nodes.service.ts @@ -73,8 +73,8 @@ export class NodesService { const score = vul.score !== undefined ? vul.score : ''; const score_v3 = vul.score_v3 !== undefined ? vul.score_v3 : ''; const package_name = vul.package_name || ''; - const package_version = vul.package_version || ''; - const fixed_version = vul.fixed_version || ''; + const package_version = `"${vul.package_version || ''}"`; + const fixed_version = `"${vul.fixed_version || ''}"`; const description = vul.description ? `"${vul.description.replace(/"/g, '""')}"` : '';