github error311/FileRise v1.8.1

22 hours ago

Changes 11/3/2025 (V1.8.1)

release(v1.8.1): fix(security,onlyoffice): sanitize DS origin; safe api.js/iframe probes; better UX placeholder

  • Add ONLYOFFICE URL sanitizers:
    • getTrustedDocsOrigin(): enforce http/https, strip creds, normalize to origin
    • buildOnlyOfficeApiUrl(): construct fixed /web-apps/.../api.js via URL()
  • Probe hardening (addresses CodeQL js/xss-through-dom):
    • ooProbeScript/ooProbeFrame now use sanitized origins and fixed paths
    • optional CSP nonce support for injected script
    • optional iframe sandbox; robust cleanup/timeout handling
  • CSP helper now renders lines based on validated origin (fallback to raw for visibility)
  • Admin UI UX: placeholder switched to HTTPS example (https://docs.example.com)
  • Comments added to justify safety to static analyzers

Files: public/js/adminPanel.js

Refs: #37

v1.8.1

Full Changelog

v1.8.0 → v1.8.1

SHA-256 (zip)

945401004cce9f4ba48503bdf20a94f77505fa115cc78b55c39bec921fb7ea49  FileRise-v1.8.1.zip

Don't miss a new FileRise release

NewReleases is sending notifications on new releases.