CVE-2021-4108
PHP vulnerability analysis and mitigation

Overview

CVE-2021-4108 affects snipe-it software and involves an Improper Neutralization of Input During Web Page Generation (Cross-site Scripting) vulnerability. The vulnerability was discovered and disclosed on December 14, 2021, affecting versions up to (excluding) 5.3.5 (NVD).

Technical details

The vulnerability is classified as a Cross-site Scripting (XSS) issue, identified as CWE-79. It has received a CVSS v3.1 base score of 6.1 (MEDIUM) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N, and a CVSS v2.0 base score of 4.3 (MEDIUM) with vector (AV:N/AC:M/Au:N/C:N/I:P/A:N) (NVD).

Impact

The vulnerability allows attackers to execute cross-site scripting attacks, potentially leading to unauthorized access to sensitive information and manipulation of web content. The impact is characterized by low confidentiality and integrity breaches, with no impact on system availability (NVD).

Exploitability

The vulnerability requires network access and user interaction to be exploited. It has a low attack complexity rating, indicating that the attack can be performed with relative ease once the conditions are met (NVD).

Mitigation and workarounds

A patch has been released to address this vulnerability. Users should upgrade to snipe-it version 5.3.5 or later. The fix involves proper input sanitization as demonstrated in the commit (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-8cfw-pcwh-v63wHIGH8.4
  • PHP logoPHP
  • winter/wn-system-module
NoYesAug 20, 2026
GHSA-p2ch-c2c3-4xm5MEDIUM6.1
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-fm29-4mq3-phg6MEDIUM5.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-hq84-x37p-j6q5MEDIUM4.5
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026
GHSA-mpmw-f6h6-3g26MEDIUM4.3
  • PHP logoPHP
  • winter/wn-backend-module
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management