CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2023 · Smarty

CVE-2023-28447
Smarty vulnerability

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.

Affected products

Smarty, Fedora. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Smarty runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

More vulnerabilities in Smarty products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.