Skip to content

dfnotes-go v0.13.5

Choose a tag to compare

@github-actions github-actions released this 17 Oct 00:51
· 4 commits to main since this release

Security

Fixes a vulnerability present in all previous releases: raw HTML in a
committed note was rendered live in the application window. A note
containing crafted HTML (for example, pasted from a phishing email or web
page) could run script with access to the application's internal
functions, load remote resources (beaconing to an outside host), or
navigate the window to a remote page. Because notes are immutable, such a
note would trigger every time it was displayed.

This release:

  • Renders note content without raw HTML. Tags in notes now display as
    literal text.
  • Adds a Content-Security-Policy that blocks inline script and all
    off-origin loads.
  • Blocks link navigation away from the application.
  • Neutralizes unsafe link schemes (javascript:, data:, file:) and remote
    images in notes and in the editor Preview.

No stored data, hashes, signatures, or chain verification are affected.
All changes are display-only.

Visible changes

  • Text that looks like an HTML tag (for example <hostname>) now displays
    as typed instead of disappearing.
  • A caption line directly below an attached image now renders as normal
    text.
  • Remote images in notes no longer load.
  • Links in notes are not clickable.

Full Changelog: v0.13.0...v0.13.5