{"id":"MGASA-2023-0014","summary":"Updated php-smarty packages fix security vulnerability","details":"It was discovered that there was a potential cross-site scripting\nvulnerability in smarty3, a widely-used PHP templating engine.\n\nIn Smarty before 3.1.47 and 4.x before 4.2.1,\nlibs/plugins/function.mailto.php allows XSS. A web page that uses\nsmarty_function_mailto, and that could be parameterized using GET or POST\ninput parameters, could allow injection of JavaScript code by a user.\n(CVE-2018-25047)\n","modified":"2026-04-16T04:41:04.289227526Z","published":"2023-01-24T07:58:24Z","upstream":["CVE-2018-25047"],"references":[{"type":"ADVISORY","url":"https://advisories.mageia.org/MGASA-2023-0014.html"},{"type":"REPORT","url":"https://bugs.mageia.org/show_bug.cgi?id=31387"},{"type":"WEB","url":"https://www.debian.org/lts/security/2023/dla-3262"},{"type":"WEB","url":"https://github.com/smarty-php/smarty/releases/tag/v4.2.1"}],"affected":[{"package":{"name":"php-smarty","ecosystem":"Mageia:8","purl":"pkg:rpm/mageia/php-smarty?arch=source&distro=mageia-8"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.1-1.mga8"}]}],"ecosystem_specific":{"section":"core"},"database_specific":{"source":"https://advisories.mageia.org/MGASA-2023-0014.json"}}],"schema_version":"1.7.5","credits":[{"name":"Mageia","contact":["https://wiki.mageia.org/en/Packages_Security_Team"],"type":"COORDINATOR"}]}