XPath Injection in magento-lts - #VU173486
Published: December 4, 2026
Vulnerability details
The vulnerability allows a remote privileged user to read the store's encryption key and database credentials and decrypt protected configuration values.
The vulnerability exists due to improper neutralization of template codes in the transactional email template editor when it builds an XPath query against the store's merged configuration. A remote privileged user can use the template loading or saving workflow to submit a crafted template code and infer sensitive configuration values from query results.