smarty4: CVE-2018-25047: smarty_function_mailto - JavaScript injection in eval function

Related Vulnerabilities: CVE-2018-25047  

Debian Bug report logs - #1019896
smarty4: CVE-2018-25047: smarty_function_mailto - JavaScript injection in eval function

version graph

Reported by: Salvatore Bonaccorso <carnil@debian.org>

Date: Thu, 15 Sep 2022 19:51:01 UTC

Severity: important

Tags: security, upstream

Found in version smarty4/4.1.1-1

Forwarded to https://github.com/smarty-php/smarty/issues/454

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, carnil@debian.org, team@security.debian.org, Mike Gabriel <sunweaver@debian.org>:
Bug#1019896; Package src:smarty4. (Thu, 15 Sep 2022 19:51:04 GMT) (full text, mbox, link).


Acknowledgement sent to Salvatore Bonaccorso <carnil@debian.org>:
New Bug report received and forwarded. Copy sent to carnil@debian.org, team@security.debian.org, Mike Gabriel <sunweaver@debian.org>. (Thu, 15 Sep 2022 19:51:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Salvatore Bonaccorso <carnil@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: smarty4: CVE-2018-25047: smarty_function_mailto - JavaScript injection in eval function
Date: Thu, 15 Sep 2022 21:49:13 +0200
Source: smarty4
Version: 4.1.1-1
Severity: important
Tags: security upstream
Forwarded: https://github.com/smarty-php/smarty/issues/454
X-Debbugs-Cc: carnil@debian.org, Debian Security Team <team@security.debian.org>
Control: clone -1 -2
Control: reassign -2 src:smarty3 3.1.45-1
Control: retitle -2 smarty3: CVE-2018-25047: smarty_function_mailto - JavaScript injection in eval function
Control: found -2 3.1.39-2+deb11u1
Control: found -2 3.1.39-2

Hi,

The following vulnerability was published for smarty4.

CVE-2018-25047[0]:
| In Smarty before 3.1.47 and 4.x before 4.2.1,
| libs/plugins/function.mailto.php allows XSS. A web page that uses
| smarty_function_mailto, and that could be parameterized using GET or
| POST input parameters, could allow injection of JavaScript code by a
| user.


If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2018-25047
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25047
[1] https://github.com/smarty-php/smarty/issues/454
[2] https://github.com/smarty-php/smarty/commit/f1f7ee6e34c14a8a9dfa5c6ef894d39277a93938 (v3.1.47)
[3] https://github.com/smarty-php/smarty/commit/55ea25d1f50f0406fb1ccedd212c527977793fc9 (v4.2.1)

Regards,
Salvatore



Bug 1019896 cloned as bug 1019897 Request was from Salvatore Bonaccorso <carnil@debian.org> to submit@bugs.debian.org. (Thu, 15 Sep 2022 19:51:04 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Sep 16 13:20:59 2022; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.