FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

Newsboat -- Remote code execution via manual OPML import

Affected packages
newsboat < 2.45.1

Details

VuXML ID 9b39eca8-dd1a-11f1-867b-3c7c3fba4204
Discovery 2026-11-05
Entry 2026-11-10

Newsboat Team reports:

GHSA-78q5-mpjq-5q34: This is a more specific version of GHSA-4m8m-vj3m-hfxx which was fixed in the previous release 2.45. The vulnerability is the same, but the attack vector is a bit more complex. When importing an OPML document, Newsboat doesn't sanitise newlines in the data it reads. This data is then written into a plain-text file (the urls file) which is then read back line-by-line. Specially crafted OPML documents could utilise this to add more lines to the urls file and inject 'exec:' and 'filter:' special URLs that contain shell commands to be executed when such URL is reloaded. In order to resolve this, URLs are sanitized by percent-encoding them, while newlines in tags are replaced by underscore character.

References

URL https://github.com/newsboat/newsboat/releases/tag/r2.45.1