Support #11844
openworked on appforsolar project
Start date:
10/26/2026
Due date:
% Done:
90%
Estimated time:
8:00 h
Subtasks
Related issues
Updated by Maruthi Bharath 3 days ago
- Start date changed from 10/30/2026 to 10/26/2026
Updated by Maruthi Bharath 3 days ago
- % Done changed from 0 to 90
- Estimated time set to 8:00 h
Company Settings - Implement Server-Side Rich Text Sanitization & Schema Support
Created HTML sanitization utility (sanitizeRichText.js) using sanitize-html to protect rich-text inputs against XSS vulnerabilities.
Updated companyschema.js to store formatted rich-text configuration data (company descriptions, proposals, terms & conditions).
Updated companySettingsService.js and companySettings.js to automatically sanitize and validate rich-text payloads prior to database persistence.