CVE-2025-45315: HortusFox hortusfox-web reflected XSS in admin.php email parameter

CVE-2025-45315 · Severity: medium · CVSS 5.4 · Published 2025-08-13

HortusFox, a self-hosted plant management system, contains a security flaw in its administrative user-creation feature. An attacker can craft a malicious email address that, when it fails validation, executes unauthorized code in the administrator's web browser. This could allow for unauthorized actions to be performed in the context of the administrator's session, though the impact is limited to the user who submits the malicious data.

Technologies: Hortusfox. Vendors: Hortusfox.

Quick answers

Is CVE-2025-45315 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-45315 being exploited in the wild.
How severe is CVE-2025-45315?
Medium severity, with a CVSS score of 5.4, published 13 August 2025.
Which products and versions are affected?
Hortusfox 4.4.
Is there a fix for CVE-2025-45315?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2025-45315 attacked?
It is attacked over the network, in a web application.
Am I affected by CVE-2025-45315?
Check whether you run Hortusfox at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A reflected cross-site scripting (XSS) vulnerability exists in the `create_user()` method within `app/controller/admin.php` of HortusFox-web v4.4. The application catches exceptions during user creation and passes the raw exception message—which includes the unsanitized `email` input—directly into a `FlashMessage` displayed to the user. An attacker with administrative privileges can inject a JavaScript payload into the `email` parameter; if a validation error occurs (such as a duplicate email), the payload is executed in the context of the administrator's browser. While this requires authenticated access and primarily affects the submitting user, it represents a failure to sanitize input echoed back in error states.

Affected products

  • HortusFox hortusfox-web 4.4

Timeline

  • 2025-08-13: advisory: NVD publication date

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.