CVE-2025-24027
JSON

6.2medium

ps_contactinfo has potential XSS due to usage of the nofilter tag in template

Severity
6.2medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.42% (higher than 38% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-35pq-7pv2-2rfw

Description

ps_contactinfo, 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 ps_contactinfo 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.

Affected

Product or packageVersionsReported by
PrestaShop ps_contactinfo<= 3.3.2CVE List
prestashop/ps_contactinfo (Packagist)before 3.3.3GitHub Advisory Database

All scores

GitHub_M6.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:H
GitHub6.2medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:L/A:H

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

ps_contactinfo, 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 ps_contactinfo 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.

GitHub Advisory Database
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 ps_contactinfo might execute a stored XSS in FO.

Patches

The long term fix is to have all your modules maintained and updated. The fix on ps_contactinfo will keep formatted addresses from displaying an xss stored in the database.

Workarounds

none

References

none

NVD (es)

ps_contactinfo, un módulo de PrestaShop para mostrar información de contacto de la tienda, tiene una vulnerabilidad de cross-site scripting (XSS) en versiones hasta incluida 3.3.2. Esto no se puede explotar en una nueva instalación de PrestaShop, solo se ven afectadas las tiendas que se vuelven vulnerables por módulos de terceros. Por ejemplo, si la tienda tiene un módulo de terceros vulnerable a inyecciones SQL, entonces ps_contactinfo podría ejecutar una Cross-Site Scripting Almacenado en los objetos de formato. El commit d60f9a5634b4fc2d3a8831fb08fe2e1f23cbfa39 evita que las direcciones formateadas muestren un XSS almacenado en la base de datos, y se espera que la solución esté disponible en la versión 3.3.3. No hay workarounds disponibles aparte de aplicar la solución y mantener todos los módulos actualizados.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-24027 changed 2025-02-12CVE Terms of Use
GitHub Advisory DatabaseGHSA-35pq-7pv2-2rfw changed 2025-01-22CC-BY-4.0
NVDCVE-2025-24027 changed 2026-06-17Public domain