Bug 2183911 (CVE-2023-28447) - CVE-2023-28447 php-Smarty: Cross site scripting vulnerability in Javascript escaping
Summary: CVE-2023-28447 php-Smarty: Cross site scripting vulnerability in Javascript e...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2023-28447
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2183912 2183913 2183914
Blocks: 2182638
TreeView+ depends on / blocked
 
Reported: 2023-04-03 05:07 UTC by TEJ RATHI
Modified: 2023-04-03 08:52 UTC (History)
0 users

Fixed In Version: php-Smarty 4.3.1, php-Smarty 3.1.48
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-03 08:52:55 UTC
Embargoed:


Attachments (Terms of Use)

Description TEJ RATHI 2023-04-03 05:07:49 UTC
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.

https://github.com/smarty-php/smarty/security/advisories/GHSA-7j98-h7fp-4vwj
https://github.com/smarty-php/smarty/commit/685662466f653597428966d75a661073104d713d

Comment 1 TEJ RATHI 2023-04-03 05:08:18 UTC
Created php-Smarty tracking bugs for this issue:

Affects: epel-7 [bug 2183912]
Affects: fedora-36 [bug 2183913]
Affects: fedora-37 [bug 2183914]

Comment 2 Product Security DevOps Team 2023-04-03 08:52:53 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.