Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. valine
  4. ›
  5. CVE-2022-38545

CVE-2022-38545: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

September 19, 2022 (updated September 22, 2022)

Valine v1.4.18 was discovered to contain a remote code execution (RCE) vulnerability which allows attackers to execute arbitrary code via a crafted POST request.

References

  • github.com/advisories/GHSA-mcvg-g9wx-v5vx
  • github.com/xCss/Valine/commit/c40826c5816c98d797a6b1ed8b62bddf73ed4f65
  • github.com/xCss/Valine/issues/400
  • github.com/xCss/Valine/releases/tag/v1.5.0
  • nvd.nist.gov/vuln/detail/CVE-2022-38545

Code Behaviors & Features

Detect and mitigate CVE-2022-38545 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

Version 1.4.18

Fixed versions

  • 1.5.0

Solution

Upgrade to version 1.5.0 or above.

Impact 9.6 CRITICAL

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

Learn more about CVSS

Weakness

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

Source file

npm/valine/CVE-2022-38545.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:23 +0000.