CVE-2022-2925: 
PHP vulnerability analysis and mitigation

Overview

A stored Cross-site Scripting (XSS) vulnerability was identified in the GitHub repository appwrite/appwrite versions prior to 1.0.0-RC1. The vulnerability was discovered and recorded on August 22, 2022 (CVE Mitre).

Technical details

The vulnerability was related to improper handling of user input in the code.js file. The issue stemmed from using innerHTML instead of textContent for rendering user input, which could allow execution of malicious scripts. This was fixed by changing the code to use textContent instead of innerHTML for safer content rendering (GitHub Commit).

Impact

The vulnerability could potentially allow attackers to execute arbitrary JavaScript code in the context of other users' browsers, leading to potential theft of sensitive information or session hijacking.

Mitigation and workarounds

The vulnerability was patched in version 1.0.0-RC1 of appwrite. The fix involved changing the code.innerHTML to code.textContent to prevent XSS attacks (GitHub Commit).

Additional resources


Source: This report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-q4v7-v68c-x6hxHIGH8.7
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-jpw7-6m4r-v92qHIGH7.4
  • PHP logoPHP
  • hengstverzeichnis/framework
NoYesNov 15, 2026
GHSA-rr6m-92cx-w69qMEDIUM6.1
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-cc6v-96f4-h9cvMEDIUM5.3
  • PHP logoPHP
  • hengstverzeichnis/addons
NoYesNov 15, 2026
GHSA-g8jp-xvcw-m27pLOWN/A
  • PHP logoPHP
  • hengstverzeichnis/framework
NoYesNov 15, 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

Additional Wiz resources

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