Skip to content

[1.1] Backport CVE-2026-22254: Sanitize SVGs uploaded to theme assets - #1480

Open
vulgraph wants to merge 1 commit into
wintercms:1.1from
vulgraph:backport/CVE-2026-22254-1.1
Open

[1.1] Backport CVE-2026-22254: Sanitize SVGs uploaded to theme assets#1480
vulgraph wants to merge 1 commit into
wintercms:1.1from
vulgraph:backport/CVE-2026-22254-1.1

Conversation

@vulgraph

@vulgraph vulgraph commented May 3, 2026

Copy link
Copy Markdown

Backport of upstream fix for CVE-2026-22254 to 1.1.

  • Upstream commit: 8a7f74b004 — Sanitize SVGs when uploaded to the theme assets
  • Cherry-picked with git cherry-pick -x (original author preserved).

Apply was clean against the current tip of 1.1. No code changes on top of the upstream fix.

This addresses an XSS vector via SVG uploads to the theme asset endpoint that has been fixed on the development line but not yet on 1.1.

What does this PR do?

Backports SVG sanitization on theme asset uploads from the upstream fix.

Notes

  • No additional code changes
  • Cherry-pick is verbatim (cherry-pick -x), original author preserved

@coderabbitai

coderabbitai Bot commented May 3, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d0117e11-4763-43da-95dd-dd0a85f50422

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants