Skip to content

[1.0] Backport CVE-2026-22254: Sanitize SVGs when uploaded to the theme assets - #1479

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

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

Conversation

@vulgraph

@vulgraph vulgraph commented May 3, 2026

Copy link
Copy Markdown

Hello WinterCMS team,

Following up on the SVG sanitization fix from upstream — CVE-2026-22254 was applied to develop/1.2, but the 1.0 LTS line is currently missing it. This PR cherry-picks the upstream fix verbatim onto 1.0; the patch applied without conflicts and the (cherry picked from commit 8a7f74b004) trailer is preserved.

Reference:

If 1.0 is no longer receiving security fixes, feel free to close — wanted to surface it in case the omission was inadvertent.


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

  • 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 the target branch. No code changes on top of the upstream fix.

@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: 896e04b3-04fa-44be-a72c-8ebaf3d32673

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