The public share controller in the ownCloud server before version 10.8.0 allows a remote attacker to see the internal path and the username of a public share by including invalid characters in the URL.
https://owncloud.com/security-advisories/cve-2021-35947/
https://doc.owncloud.com/server/admin_manual/release_notes.html