RT# 74666 - fixed vulnerability by escaping quotation_description var
authorChristopher Burger <burgerc@freeside.biz>
Fri, 30 Jun 2017 17:24:29 +0000 (13:24 -0400)
committerChristopher Burger <burgerc@freeside.biz>
Fri, 30 Jun 2017 21:54:12 +0000 (17:54 -0400)
Conflicts:
httemplate/view/quotation.html

httemplate/view/quotation.html

index 4769934..0e3e8b3 100755 (executable)
@@ -11,7 +11,7 @@ function areyousure(href, message) {
 % if ( $quotation->custnum ) {
   <h2>Quotation #<% $quotationnum %>
 %   if ($quotation->quotation_description) {
-      (<% $quotation->quotation_description %>)  
+      (<% $quotation->quotation_description |h %>)  
 %   } 
   </h2>
 % }