Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. getformwork/formwork
  4. ›
  5. CVE-2024-37160

CVE-2024-37160: Cross-site scripting (XSS) vulnerability in Description metadata

June 7, 2024 (updated March 19, 2025)

Regardless of the role or privileges, no user should be able to inject malicious JavaScript (JS) scripts into the body HTML. an XSS (Cross-Site Scripting) vulnerability, specifically a Stored XSS, which affects all pages of the website. Once the JS script is embedded in the body HTML, the XSS will trigger on any page a victim visits, such as the about, blog, contact, or any other pages, except for the panel.

References

  • github.com/advisories/GHSA-5pxr-7m4j-jjc6
  • github.com/getformwork/formwork
  • github.com/getformwork/formwork/commit/9d471204f7ebb51c3c27131581c2b834315b5e0b
  • github.com/getformwork/formwork/commit/f5312015a5a5e89b95ef2bd07e496f8474d579c5
  • github.com/getformwork/formwork/security/advisories/GHSA-5pxr-7m4j-jjc6
  • nvd.nist.gov/vuln/detail/CVE-2024-37160

Code Behaviors & Features

Detect and mitigate CVE-2024-37160 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 before 1.13.1, all versions starting from 2.0.0-beta.1 before 2.0.0-beta.2, version 2.0.0-beta.1

Fixed versions

  • 1.13.1
  • 2.0.0-beta.2

Solution

Upgrade to versions 1.13.1, 2.0.0-beta.2 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

packagist/getformwork/formwork/CVE-2024-37160.yml

Spotted a mistake? Edit the file on GitLab.

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

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