Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2021-41258— Cross-site scripting (XSS) from image block content in the site frontend

Quick assessment

Affected
getkirby kirby
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Kirby是一套基于文件的内容管理系统(CMS)。 Kirby 中存在跨站脚本漏洞,该漏洞源于产品未对输入数据做有效验证。攻击者可通过该漏洞执行客户端代码。以下产品及版本受到影响:Kirby 3.5.8 版本及之前版本。

CVSS 7.3 · High EPSS 0.78% · P53

Possible ATT&CK Techniques 1 AI

T1189 · Drive-by Compromise
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-41258

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cross-site scripting (XSS) from image block content in the site frontend
Source: CVE Program / CVE List V5
Vulnerability Description
Kirby is an open source file structured CMS. In affected versions Kirby's blocks field stores structured data for each block. This data is then used in block snippets to convert the blocks to HTML for use in your templates. We recommend to escape HTML special characters to protect against cross-site scripting (XSS) attacks. The default snippet for the image block unfortunately did not use our escaping helper. This made it possible to include malicious HTML code in the source, alt and link fields of the image block, which would then be displayed on the site frontend and executed in the browsers of site visitors and logged in users who are browsing the site. Attackers must be in your group of authenticated Panel users in order to exploit this weakness. Users who do not make use of the blocks field are not affected. This issue has been patched in Kirby version 3.5.8 by escaping special HTML characters in the output from the default image block snippet. Please update to this or a later version to fix the vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Kirby 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Kirby是一套基于文件的内容管理系统(CMS)。 Kirby 中存在跨站脚本漏洞,该漏洞源于产品未对输入数据做有效验证。攻击者可通过该漏洞执行客户端代码。以下产品及版本受到影响:Kirby 3.5.8 版本及之前版本。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
getkirby kirby >= 3.5.0, < 3.5.8 -

II. Public POCs for CVE-2021-41258

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-41258

登录查看更多情报信息。

Patches & Fixes for CVE-2021-41258 (1)

Vendor Advisories for CVE-2021-41258 (1)

Other References for CVE-2021-41258 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2021-41258

No comments yet


Leave a comment