View Issue Details

This issue affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
20925Bug reportsSurvey takingpublic2026-12-03 10:09
Reporterriku Assigned ToHaythem  
PrioritynoneSeverityminor 
Status confirmedResolutionopen 
Product Version7.12.x 
Summary20925: An oversized file upload in question produces a misleading CSRF error
Description

See assets/scripts/uploader.js:165.

Steps To Reproduce

Steps to reproduce

  1. Add a file upload question type to a survey.
  2. Attempt to upload a file larger than the maximum allowed post size set in PHP settings.
  3. Observe the error.

Expected result

I would expect an error notice to be displayed similarly to the file count and file extension errors and the error notice contents to describe the actual issue (oversized file).

Actual result

The 400: CSRF token could not be verified error is thrown, which overrides the entire survey view.

TagsNo tags attached.
Attached Files
Bug heat0
Complete LimeSurvey version number (& build)7.13.0
I will donate to the project if issue is resolvedNo
Browser
Database type & version-
Server OS (if known)
Webserver software & version (if known)
PHP Version-
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

Issue History

Date Modified Username Field Change
2026-12-03 08:53 riku New Issue
2026-12-03 08:53 riku File Added: Screenshot 2026-12-03 at 09.52.28.png
2026-12-03 08:53 riku File Added: Screenshot 2026-12-03 at 09.52.50.png
2026-12-03 10:09 Haythem Assigned To => Haythem
2026-12-03 10:09 Haythem Status new => confirmed