CVE-2025-24027: ps_contactinfo has potential XSS due to usage of the nofilter tag in template
Impact This can not be exploited in a fresh install of PrestaShop, only shops made vulnerable by third party modules are concerned.
For example, if your shop has a third party module vulnerable to SQL injections, then pscontactinfo might execute a stored XSS in FO.
Patches The long term fix is to have all your modules maintained and updated. The fix on pscontactinfo will keep formatted addresses from displaying an xss stored in the database.
Workarounds none
References none
Other sources
pscontactinfo, a PrestaShop module for displaying store contact information, has a cross-site scripting (XSS) vulnerability in versions up to and including 3.3.2. This can not be exploited in a fresh install of PrestaShop, only shops made vulnerable by third party modules are concerned. For example, if the shop has a third party module vulnerable to SQL injections, then pscontactinfo might execute a stored cross-site scripting in formatting objects. Commit d60f9a5634b4fc2d3a8831fb08fe2e1f23cbfa39 keeps formatted addresses from displaying a XSS stored in the database, and the fix is expected to be available in version 3.3.3. No workarounds are available aside from applying the fix and keeping all modules maintained and update.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-24027?
The severity of CVE-2025-24027 is considered high due to the potential for stored XSS attacks facilitated through vulnerable third-party modules.
How do I fix CVE-2025-24027?
To fix CVE-2025-24027, upgrade the 'prestashop/ps_contactinfo' module to version 3.3.3 or later.
Who is affected by CVE-2025-24027?
CVE-2025-24027 affects PrestaShop installations that have third-party modules susceptible to SQL injection.
Can CVE-2025-24027 be exploited on a fresh installation of PrestaShop?
No, CVE-2025-24027 cannot be exploited in a fresh installation of PrestaShop.
What type of vulnerabilities are involved in CVE-2025-24027?
CVE-2025-24027 involves stored XSS vulnerabilities that can be triggered by compromised input from vulnerable third-party modules.