CVE-2025-68147
CVE-2025-68147 is a high-severity vulnerability in Opensourcepos Open Source Point Of Sale with a CVSS 3.x base score of 8.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: High (CVSS 3.x base score 8.1)
- EPSS exploit prediction: 0% (23rd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-204017
- Weakness: CWE-79
- Affected product: Opensourcepos Open Source Point Of Sale
- Published:
- Last modified:
Description
Open Source Point of Sale (opensourcepos) is a web based point of sale application written in PHP using CodeIgniter framework. Starting in version 3.4.0 and prior to version 3.4.2, a Stored Cross-Site Scripting (XSS) vulnerability exists in the "Return Policy" configuration field. The application does not properly sanitize user input before saving it to the database or displaying it on receipts. An attacker with access to the "Store Configuration" (such as a rogue administrator or an account compromised via the separate CSRF vulnerability) can inject malicious JavaScript payloads into this field. These payloads are executed in the browser of any user (including other administrators and sales staff) whenever they view a receipt or complete a transaction. This can lead to session hijacking, theft of sensitive data, or unauthorized actions performed on behalf of the victim. The vulnerability has been patched in version 3.4.2 by ensuring the output is escaped using the `esc()` function in the receipt template. As a temporary mitigation, administrators should ensure the "Return Policy" field contains only plain text and strictly avoid entering any HTML tags. There is no code-based workaround other than applying the patch.
Frequently asked questions
- What is CVE-2025-68147?
- Open Source Point of Sale (opensourcepos) is a web based point of sale application written in PHP using CodeIgniter framework. Starting in version 3.4.0 and prior to version 3.4.2, a Stored Cross-Site Scripting (XSS) vulnerability exists in the "Return Policy" configuration field. The application does not properly sanitize user input before saving it to the database or displaying it on receipts. An attacker with access to the "Store Configuration" (such as a rogue administrator or an account compromised via the separate CSRF vulnerability) can inject malicious JavaScript payloads into this field. These payloads are executed in the browser of any user (including other administrators and sales staff) whenever they view a receipt or complete a transaction. This can lead to session hijacking, theft of sensitive data, or unauthorized actions performed on behalf of the victim. The vulnerability has been patched in version 3.4.2 by ensuring the output is escaped using the `esc()` function in the receipt template. As a temporary mitigation, administrators should ensure the "Return Policy" field contains only plain text and strictly avoid entering any HTML tags. There is no code-based workaround other than applying the patch.
- How severe is CVE-2025-68147?
- CVE-2025-68147 has a CVSS 3.x base score of 8.1, rated high severity. It is exploitable over network with low attack complexity, requires high privileges and user interaction. Impact on confidentiality is high, integrity high, and availability none.
- Is CVE-2025-68147 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (23rd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-68147?
- CVE-2025-68147 affects Opensourcepos Open Source Point Of Sale. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2025-68147?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-68147 have an EU (EUVD) identifier?
- Yes. CVE-2025-68147 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-204017.
- When was CVE-2025-68147 published?
- CVE-2025-68147 was published on 2025-12-17 and last updated on 2026-06-17.
References
- https://github.com/Nixon-H/CVE-2025-68147-OSPOS-Stored-XSS
- https://github.com/opensourcepos/opensourcepos/commit/22297a
- https://github.com/opensourcepos/opensourcepos/security/advisories/GHSA-xgr7-7pvw-fpmh
Affected products (1)
- cpe:2.3:a:opensourcepos:open_source_point_of_sale:*:*:*:*:*:*:*:*
More vulnerabilities in Opensourcepos Open Source Point Of Sale
- CVE-2026-32888 — High (CVSS 8.8): Open Source Point of Sale is a web based point-of-sale application written in PHP using CodeIgniter framework. Versions…
- CVE-2026-26746 — High (CVSS 8.8): OpenSourcePOS 3.4.1 contains a Local File Inclusion (LFI) vulnerability in the Sales.php::getInvoice() function. An…
- CVE-2025-68434 — High (CVSS 8.8): Open Source Point of Sale (opensourcepos) is a web based point of sale application written in PHP using CodeIgniter…
- CVE-2025-63800 — High (CVSS 7.5): The password change endpoint in Open Source Point of Sale 3.4.1 allows users to set their account password to an empty…
- CVE-2025-70093 — High (CVSS 7.4): An issue in OpenSourcePOS v3.4.1 allows attackers to execute arbitrary code via returning a crafted AJAX response.
- CVE-2025-66923 — High (CVSS 7.2): A Cross-site scripting (XSS) vulnerability in Create/Update Customer(s) in Open Source Point of Sale v3.4.1 allows…
All CVEs affecting Opensourcepos Open Source Point Of Sale →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →