Skip to content

[stable33] fix(theming): only accept canonical svg paths for themed icons - #66312

Merged
AndyScherzinger merged 1 commit into
stable33from
backport/66285/stable33
Nov 4, 2026
Merged

AndyScherzinger merged 1 commit into
stable33from
backport/66285/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Nov 4, 2026

Copy link
Copy Markdown

Backport of PR #66285

The themed icon cache key was derived from the raw image path while the
lookup in Util::getAppImage() strips ".." and tries additional
extensions. This allowed many spellings of the same file (including
non-svg images) to each create a separate cache entry.

Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-VGIZP3VV

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbot
backportbot Bot requested a review from a team as a code owner November 4, 2026 16:28
@backportbot
backportbot Bot requested review from DerDreschner, leftybournes, provokateurin, susnux and szaimen and removed request for a team November 4, 2026 16:28
@backportbot backportbot Bot added bug 3. to review Waiting for reviews AI assisted labels Nov 4, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.11 milestone Nov 4, 2026
@AndyScherzinger
AndyScherzinger merged commit fb3269f into stable33 Nov 4, 2026
164 of 170 checks passed
@AndyScherzinger
AndyScherzinger deleted the backport/66285/stable33 branch November 4, 2026 19:37
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically locked because it has been closed for more than 7 days. As we do not monitor merged or closed pull requests, we are locking this pull request to prevent further comments from getting lost in the noise.
If you discovered any issues with this pull request, please open a new issue instead. In case you want to discuss this pull request or have further questions, please use our forum: https://help.nextcloud.com

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants