CVE-2023-28447

unknown
Published 2023-03-29 ยท Modified 2025-11-04
CVSS v3
โ€”
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
โ€”

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.

Predictions

Exploit likelihood
30%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

OSVersionStatusFixed in
debian debianbookwormfixed3.1.47-2+deb12u1
debian debianbullseyefixed3.1.39-2+deb11u2
debian debianforkyfixed3.1.48-1
debian debiansidfixed3.1.48-1
debian debiantrixiefixed3.1.48-1

Package impact

EcosystemPackageVulnerableFixed
php Packagistsmarty/smarty>=4.0.0,<4.3.14.3.1
php Packagistsmarty/smarty<3.1.483.1.48

References

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.