Skip to content
OpenAdvisories

Package · Go

github.com/jandedobbeleer/oh-my-posh

2 known vulnerabilities.

2 results · Feed

  • Medium 6.1

    Oh My Posh: Terminal escape sequence injection via unsanitized prompt segment data

    Oh My Posh is the most customisable and low-latency cross platform/shell prompt renderer. Prior to 29.35.1, write(s rune) in src/terminal/writer.go emitted attacker-controlled current directory names and Git metadata, including Commit.Subject, Commit.Author.N…

  • High 7.8

    Oh My Posh: Arbitrary command execution via template injection in the path segment

    Oh My Posh is the most customisable and low-latency cross platform/shell prompt renderer. Prior to 29.35.1, the setStyle() function in src/segments/path.go passed pt.Path, which includes raw folder names, to template.Render, whose function map exposes cmd, so…