Security mailing lists by PureSourceCode

CVE-2023-28447

MEDIUM 6.1CVSS 3.1

smarty Cross-site Scripting vulnerability in Javascript escaping

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.

Published
28 Mar 2023
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-7j98-h7fp-4vwj
Sources
NVDJSONOSV GHSA-7j98-h7fp-4vwjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD smarty smarty
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
< 3.1.48 3.1.48
NVD smarty smarty
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.3.1 4.3.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
= 38
OSV Packagist smarty/smarty >= 4.0.0, < 4.3.1 4.3.1
OSV Packagist smarty/smarty < 3.1.48 3.1.48

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 28 Mar 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 29 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.