Using Math.Random() is not a secure way of generating random numbers. They cannot withstand cryptographic attacks by hackers.
This is being reported by fortify from swagger-UI.js
Is there a fix for this or a patch or explanation for the issue.
SwaggerUi.Views.ParameterContentTypeView = Backbone.View.extend({
initialize: function () {},
render: function(){
this.model.parameterContentTypeId = 'pct' + Math.random();
$(this.el).html(Handlebars.templates.parameter_content_type(this.model));
return this;
}
});
Subhodeep