Vulnerability DatabaseGHSA-q4v7-v68c-x6hx

GHSA-q4v7-v68c-x6hx: 
PHP vulnerability analysis and mitigation

Summary

wallabag has a Stored XSS / CWE-79 issue in the import feature. Uploaded import files were stored under the web root and were only deleted when the import succeeded. This summary is defensive and intentionally omits exploit instructions.

Impact

An authenticated user can upload an import file that fails to import. The file then stays in a web-accessible folder of the instance, under a predictable name. Since wallabag 2.6.13, HTML files are accepted by the Pocket HTML and Shaarli importers: such a file is served in the wallabag origin, and a script it contains runs in the session of any logged-in user who opens it. This can expose data visible to the victim and permit same-origin actions in the victim's session. Before 2.6.13, HTML uploads were not accepted, but JSON and CSV files from failed imports were left in the same web-accessible folder.

Affected versions

Stored XSS: wallabag 2.6.13 through 2.6.15. Failed import files left under the web root: all versions up to 2.6.15.

Patched versions

wallabag 2.6.16.

Workarounds

Block access to the web/uploads/import folder in the web server configuration, or restrict access to the import feature to trusted users. After upgrading to 2.6.16, delete the content of the web/uploads/import folder: it may contain files left by previous failed imports.

Technical details

The import controllers moved the uploaded file to web/uploads/import with a name derived from the user id, then removed it only when the import returned a success. Since 2.6.16, uploads are stored in var/import, outside of the web root, under a random name, and they are always deleted after processing, whatever the import result.

Credits

See the credits section of this advisory.


Source: NVD

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-46jc-m2hq-v399MEDIUM6.4
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-rr6m-92cx-w69qMEDIUM6.1
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-q2r9-jqp3-5f26MEDIUM5.4
  • PHP logoPHP
  • wallabag/wallabag
NoNoNov 13, 2026
GHSA-9343-66h6-6cjrMEDIUM5.3
  • PHP logoPHP
  • koriym/file-upload
NoYesNov 12, 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