إرسال #878861: error311 FileRise 3.20.0 Cross Site Scriptingالمعلومات

عنوانerror311 FileRise 3.20.0 Cross Site Scripting
الوصفThe footerHtml branding field is served in the unauthenticated public siteConfig endpoint without HTML sanitization. While other branding fields like loginTagline and metaDescription are sanitized via strip_tags(), footerHtml receives only a (string) cast. AdminModel.php buildPublicSubset() at line 214: 'footerHtml' => (string)($config['branding']['footerHtml'] ?? ''). UserController.php siteConfig() serves this to unauthenticated users via /api/public/siteConfig.php. An admin can inject arbitrary HTML/JS. CSP blocks script tags but not event handlers (img onerror, svg onload). Requires admin privileges to inject. PoC: curl -s http://127.0.0.1:8080/api/public/siteConfig.php | jq .branding.footerHtml returns unsanitized HTML.
المصدر⚠️ https://github.com/error311/FileRise/security/advisories/GHSA-rmwm-wq9g-583g
المستخدم
 BRabbit (UID 99520)
ارسال03/07/2026 08:38 AM (2 أشهر منذ)
الاعتدال19/08/2026 06:39 PM (2 months later)
الحالةتمت الموافقة
إدخال VulDB393219 [error311 FileRise حتى 3.20.0 Branding Field AdminModel.php buildPublicSubset footerHtml البرمجة عبر المواقع]
النقاط20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!