Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. prestashop/prestashop
  4. ›
  5. CVE-2023-31508

CVE-2023-31508: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 12, 2023

A cross-site scripting (XSS) vulnerability in PrestaShop v1.7.7.4 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the message parameter in /contactform/contactform.php.

References

  • github.com/advisories/GHSA-6mhc-hqr3-w466
  • github.com/mustgundogdu/Research/blob/main/PrestaShop/ReflectedXSS_1.7.7.4.md
  • nvd.nist.gov/vuln/detail/CVE-2023-31508

Code Behaviors & Features

Detect and mitigate CVE-2023-31508 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.7.7.4

Solution

Unfortunately, there is no solution available yet.

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/prestashop/prestashop/CVE-2023-31508.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:33 +0000.