Advisory record · GHSA-7j98-h7fp-4vwj

smarty Cross-site Scripting vulnerability in Javascript escaping

CVSS 7.1 HighEPSS 0.0094 · 59th percentile

Published by the GitHub Advisory Database at 29 Mar 2023, 18:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
smarty/smartyPackagist>=4.0.0, <4.3.1 || <3.1.484.3.1, 3.1.48
Identifiers
GHSA-7j98-h7fp-4vwj · CVE-2023-28447 · PKSA-2q9d-8kh9-49wx
Weakness (CWE)
CWE-79
Published
29 Mar 2023
Updated
4 Nov 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The smarty/smarty Packagist package, versions before 3.1.48 and from 4.0.0 before 4.3.1, is vulnerable to cross-site scripting in its JavaScript escaping. The source gives few details on the attack conditions. If exploited, an attacker could run arbitrary JavaScript in a user's browser session. Upgrade to 3.1.48 or 4.3.1, or later.

Written 3 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
7.1 High 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0094, the 59th percentile, on 25 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:26 UTC First seen by agentprime
  2. 31 Oct 2026, 14:26 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.