[manjaro-security] [ASA-202105-9] hedgedoc: cross-site scripting
Jonas Witschel via arch-security
arch-security at lists.archlinux.org
Thu May 20 20:05:37 CEST 2021
Arch Linux Security Advisory ASA-202105-9
Date : 2021-05-19
CVE-ID : CVE-2021-29503
Package : hedgedoc
Type : cross-site scripting
Remote : Yes
Link : https://security.archlinux.org/AVG-1946
The package hedgedoc before version 1.8.2-1 is vulnerable to cross-site
Upgrade to 1.8.2-1.
# pacman -Syu "hedgedoc>=1.8.2-1"
The problem has been fixed upstream in version 1.8.2.
In order to prevent unauthenticated attacks it can be useful to disable
guest edits until the next update. To do this, set the following to
# other configs
Or set the environment variables CMD_ALLOW_ANONYMOUS=false and
HedgeDoc before version 1.8.2 is vulnerable to a cross-site scripting
(XSS) attack using the YAML-metadata of a note. An attacker with write
access to a note can embed HTML tags in the Open Graph metadata section
of the note, resulting in the frontend rendering the script tag as part
of the <head> section.
This vulnerability affects all installations. Unless your instance
prevents guests from editing notes, this vulnerability allows
guest edits. If your instance prevents guests from editing notes, this
any note pages they have write-access to.
A remote attacker with write access to a note can inject arbitrary
note is viewed.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the manjaro-security