Advisory

GHSA-2pmx-6mm6-6v72

Also known as: CVE-2014-8350

Summary

Smarty arbitrary PHP code execution

Details

Smarty before 3.1.21 allows remote attackers to bypass the secure mode restrictions and execute arbitrary PHP code as demonstrated by "{literal}<{/literal}script language=php>" in a template.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-17 01:13 UTC
Modified
2024-12-06 05:48 UTC

Affected packages and fixes

smarty/smarty

Packagist · All systems

Affected

  • introduced 0, fixed 3.1.21 (ecosystem)

Fixed versions

3.1.21

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences