Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2022-29221

30
FAUCET Score

CVE-2022-29221 is a high-severity vulnerability affecting Smarty, a PHP template engine, in versions prior to 3.1.45 and 4.1.1. It allows template authors to inject malicious PHP code by manipulating block or include names, impacting the confidentiality, integrity, and availability of affected systems. With a CVSS score of 8.8, this vulnerability is easily exploitable over the network with low privileges and no user interaction. There is currently no known active exploitation, public exploit code, or significant community discussion surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
< 3.1.45CPE matchmatch criteria
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.1.1CPE matchmatch criteria
cpe:2.3:a:smarty:smarty:*:*:*:*:*:*:*:*
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
11.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
2.8
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
4.84%
Probability of exploitation in next 30 days
EPSS Percentile
91.1%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0484 is in the 91st percentile among its peer group of 17,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (3)

composerpatch availablevia ghsa
Product: smarty/smartyFixed in: 3.1.45
composerpatch availablevia ghsa
Product: smarty/smartyFixed in: 4.1.1
github_advisorypatch availablevia nvd_reference
View patch

Vendor Advisories (1)

composerGHSA-634x-pc3q-cf4chigh

PHP Code Injection by malicious block or filename in Smarty

May 25, 2022

References

github.com / smarty-php/smarty/commit/64ad6442ca1da31cefdab5c9874262b702cccddd
PatchThird Party Advisory
github.com / smarty-php/smarty/releases/tag/v3.1.45
Release NotesThird Party Advisory
github.com / smarty-php/smarty/releases/tag/v4.1.1
Release NotesThird Party Advisory
github.com / smarty-php/smarty/security/advisories/GHSA-634x-pc3q-cf4c
Third Party Advisory
lists.debian.org / debian-lts-announce/2022/05/msg00044.html
Mailing ListThird Party Advisory
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/BRAJVDRGCIY5UZ2PQHKDTT7RMKG6WJQQ
lists.fedoraproject.org / archives/list/package-announce%40lists.fedoraproject.org/message/L777JIBIWJV34HS7LXPIDWASG7TT4LNI
security.gentoo.org / glsa/202209-09
Third Party Advisory
debian.org / security/2022/dsa-5151
Third Party Advisory