Skip to content

web: newlines in submitted transactions could write directives into the journal file #2704

Closed

Description

@simonmichael

hledger-web could write a newline submitted in a transaction field into the journal file, allowing the user to inject an include directive and (attempt to) include other system files readable by hledger-web.

Fixed on main and on 1.52-branch, to be released in 1.52.3. Details in the security advisory published with that release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-BUGSomething wrong, confusing or sub-standard in the software, docs, or user experience.affects3-fewAffects just a few users.annoyance5-criticalAny loss of user's data, privacy, security, or trust.securitywebThe hledger-web tool.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions