[5.x]: "A critical update is available" still shows after updating Formie 3 to latest security release

未关闭
#21,279 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
45/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
php
领域
backend, devtools

调研方向

Start by tracing how Craft CMS identifies and displays critical plugin updates, then inspect the update metadata for Formie versions 3.3.0 and 4.2.1 against the linked release notes and security advisories. Reproduce with Craft 5.12.4 and Formie 3.3.0; done when the critical banner no longer flags Formie 3 after that security fix while still reflecting applicable updates.

由索引模型根据 Issue 内容生成。

描述

bug repo:cms
What happened?
Description

After updating Formie to version 3.3.0, Craft CMS still displays the "A critical update is available" message. The Formie 4.2.0 update is marked as critical. According to the Formie release logs, version 3.3.0 also addresses the CVE fixed in 4.2.1.

Steps to reproduce
  1. Install Formie 3.1 plugin
  2. Open CMS
  3. "A critical update is available" banner visible
  4. Formie 3.3.0 is listed as a critical update
  5. Install Formie 3.3.0
  6. "A critical update is available" banner still visible
  7. Formie 4.2.1 is listed as a critical update
Expected behavior

After installing Formie 3.3.0, the critical update message should disappear, as Formie 3.3.0 addresses the CVE

Actual behavior

Formie 4.2.1 is listed as a critical update

See https://github.com/verbb/formie/releases/tag/3.3.0
And https://github.com/verbb/formie/security/advisories/GHSA-qrpc-wc6f-w23f

The second CVE listed in the Formie 4.2.1 release notes states that the other CVE fix does not affect Formie 1, 2 and 3
https://github.com/verbb/formie/security/advisories/GHSA-3xfv-79c2-rj48

Craft CMS version

Craft Pro 5.12.4

PHP version

8.4.28

Operating system and version

Linux 6.1.0-56-amd64

Database type and version

MariaDB 11.4.12

Image driver and version

Imagick 3.8.1 (ImageMagick 6.9.11-60)

Installed plugins and versions

Bugsnag 5.0.8
CKEditor 5.3.1
Dashboard Befgone 3.0.0
Embedded Assets 5.4.9
Formie 3.3.0
Neo 5.5.14
Postmark 3.2.0
Read Only 2.0.0
Scout 5.0.11
Ether SEO 5.0.0
SEOMatic 5.1.24
Table Maker 5.1.8
Webhooks 3.5.1
Workflow 3.0.28

主要语言
PHP
星标
3.6k
派生
800
平均合并
15 小时 20 分钟
30 天内合并 PR
715

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

craftcms/cms 的其他 Issue

查看 craftcms/cms 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。