CVE-2025-10316 Cross-Site Scripting in extension "Form to Database" (form_to_database)
Cross-Site Scripting in the TYPO3 Form to Database extension allows attackers to inject malicious scripts, potentially leading to session hijacking or code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-10316?
CVE-2025-10316 is a low-severity cross-site scripting vulnerability in TYPO3 Extension "Form to Database" (form_to_database), published on 16 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The extension "Form to Database" is susceptible to Cross-Site Scripting. This issue affects the following versions: before 2.2.5, from 3.0.0 before 3.2.2, from 4.0.0 before 4.2.3, from 5.0.0 before 5.0.2.
Weakness: CWE-79
Which versions are affected by CVE-2025-10316?
8 open source packages ship an affected version, including lavitto/typo3-form-to-database.
| Package | Affected | Fixed in |
|---|---|---|
lavitto/typo3-form-to-database Packagist | All versions | 2.2.5 |
lavitto/typo3-form-to-database Packagist | All versions | 2.2.5 |
lavitto/typo3-form-to-database Packagist | From 3.0.0 | 3.2.2 |
lavitto/typo3-form-to-database Packagist | From 3.0.0 | 3.2.2 |
lavitto/typo3-form-to-database Packagist | From 4.0.0 | 4.2.3 |
lavitto/typo3-form-to-database Packagist | From 4.0.0 | 4.2.3 |
2 more packages
lavitto/typo3-form-to-database Packagist | From 5.0.0 | 5.0.2 |
lavitto/typo3-form-to-database Packagist | From 5.0.0 | 5.0.2 |
How do I fix CVE-2025-10316?
Upgrade lavitto/typo3-form-to-database to a fixed version for your release line: 2.2.5, 3.2.2, 4.2.3 or 5.0.2.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-10316 being exploited?
There is no known exploitation of CVE-2025-10316 in the wild and no public exploit code.
Sources
Also known as GHSA-54pg-2x9h-cmx8.