# CVE-2025-41011: HTML injection in PHP Point Of Sale

> An attacker can inject HTML into the victim's browser via unvalidated date parameters in the customer report feature of PHP Point of Sale.

- **Severity:** Medium 5.1 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N`)
- **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:** No
- **Published:** 21 Apr 2026
- **Updated:** 21 Apr 2026
- **Also known as:** GHSA-29vm-h87p-hcp4

## What is CVE-2025-41011?

CVE-2025-41011 is a medium-severity cross-site scripting vulnerability in PHP Point Of Sale, published on 21 Apr 2026. 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

HTML injection vulnerability in PHP Point of Sale v19.4. This vulnerability allows an attacker to render HTML in the victim's browser due to a lack of proper validation of user input by sending a request to '/reports/generate/specific_customer', ussing 'start_date_formatted' y 'end_date_formatted' parameters.

Weakness: CWE-79 (Improper Neutralization of Input During Web Page Generation)

## Which versions are affected by CVE-2025-41011?

It affects 1 product.


Products: Phppointofsale Php Point of Sale.

## How do I fix CVE-2025-41011?

No fix has been published for CVE-2025-41011 yet. Limit exposure of the affected software until one is available.

## Is CVE-2025-41011 being exploited?

There is no known exploitation of CVE-2025-41011 in the wild and no public exploit code.

## Other vulnerabilities in PHP Point Of Sale

- [CVE-2022-40293](https://insights.sbomify.com/CVE-2022-40293/): Session fixation in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC. (critical 9.8)
- [CVE-2022-40296](https://insights.sbomify.com/CVE-2022-40296/): Server-side request forgery (SSRF) in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC. (critical 9.8)
- [CVE-2022-40287](https://insights.sbomify.com/CVE-2022-40287/): Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via user profile data fields. (critical 9.0)
- [CVE-2022-40288](https://insights.sbomify.com/CVE-2022-40288/): Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via messaging functionality (critical 9.0)
- [CVE-2022-40289](https://insights.sbomify.com/CVE-2022-40289/): Cross-site scripting in PHP Point of Sale (critical 9.0)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2025-41011 and fix it if it is affected.

What it is: CVE-2025-41011 is a medium-severity cross-site scripting vulnerability in PHP Point Of Sale, published on 21 Apr 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2025-41011 in the wild and no public exploit code.

Affected product: PHP Point Of Sale. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2025-41011/ (Markdown: https://insights.sbomify.com/CVE-2025-41011/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2025-41011
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2025-41011
- OSV: https://osv.dev/vulnerability/CVE-2025-41011

---
From sbomify Insights: https://insights.sbomify.com/CVE-2025-41011/
Summaries are generated and may contain mistakes; the official description above is the record.
