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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-28447— Cross site scripting vulnerability in Javascript escaping in smarty/smarty

Quick assessment

Affected
smarty-php smarty
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Smarty是基于PHP的模板引擎,有助于将表示 (HTML/CSS) 与应用程序逻辑分离。 Smarty 4.3.1之前版本和3.1.48之前版本存在跨站脚本漏洞,该漏洞源于没有正确转义 javascript 代码。攻击者可以利用该漏洞在用户浏览器会话的上下文中执行任意 JavaScript 代码。

CVSS 7.1 · High EPSS 1.03% · P62

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-28447

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 vulnerability in Javascript escaping in smarty/smarty
Source: CVE Program / CVE List V5
Vulnerability Description
Smarty is a template engine for PHP. In affected versions smarty did not properly escape javascript code. An attacker could exploit this vulnerability to execute arbitrary JavaScript code in the context of the user's browser session. This may lead to unauthorized access to sensitive user data, manipulation of the web application's behavior, or unauthorized actions performed on behalf of the user. Users are advised to upgrade to either version 3.1.48 or to 4.3.1 to resolve this issue. There are no known workarounds for this vulnerability.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
Smarty 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Smarty是基于PHP的模板引擎,有助于将表示 (HTML/CSS) 与应用程序逻辑分离。 Smarty 4.3.1之前版本和3.1.48之前版本存在跨站脚本漏洞,该漏洞源于没有正确转义 javascript 代码。攻击者可以利用该漏洞在用户浏览器会话的上下文中执行任意 JavaScript 代码。
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
smarty-php smarty >= 4.0.0, < 4.3.1 -

II. Public POCs for CVE-2023-28447

# POC Description Source Link Shenlong Link
1 Module for PrestaShop 1.7.X to fix CVE-2023-28447 vulnerability (Smarty XSS) https://github.com/drkbcn/lblfixer_cve_2023_28447 POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-28447

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-28447 (1)

Vendor Advisories for CVE-2023-28447 (1)

Mailing List Discussions for CVE-2023-28447 (3)

IV. Related Vulnerabilities

V. Comments for CVE-2023-28447

No comments yet


Leave a comment