Open Source Point of Sale (opensourcepos) Stored XSS in Configuration (Information) – Company Name field
Open Source Point of Sale (opensourcepos) is a web based point of sale application written in PHP using CodeIgniter framework. opensourcepos 3.4.0 and 3.4.1 has a stored XSS vulnerability exists in the Configuration (Information) functionality. An authenticated user with the permission “Configuration: Change OSPOS's Configuration” can inject a malicious JavaScript payload into the Company Name field when updating Information in Configuration. The malicious payload is stored and later triggered when a user accesses /sales/complete. First select Sales, and choose New Item to create an item, then click on Completed . Due to insufficient input validation and output encoding, the payload is rendered and executed in the user’s browser, resulting in a stored XSS vulnerability. This vulnerability is fixed in 3.4.2.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-68658
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 01:25 UTC · Revision 1
Source evidence
Open Source Point of Sale (opensourcepos) Stored XSS in Configuration (Information) – Company Name field
core-osv · Original sourcePublished 13 Jan 2026, 21:25 UTC
Open Source Point of Sale (opensourcepos) is a web based point of sale application written in PHP using CodeIgniter framework. opensourcepos 3.4.0 and 3.4.1 has a stored XSS vulnerability exists in the Configuration (Information) functionality. An authenticated user with the permission “Configuration: Change OSPOS's Configuration” can inject a malicious JavaScript payload into the Company Name field when updating Information in Configuration. The malicious payload is stored and later triggered when a user accesses /sales/complete. First select Sales, and choose New Item to create an item, then click on Completed . Due to insufficient input validation and output encoding, the payload is rendered and executed in the user’s browser, resulting in a stored XSS vulnerability. This vulnerability is fixed in 3.4.2.
osv:CVE-2025-68658
Complete source record
{
"id": "285c7a372a5ad9dbb309f6e2b1c4842ce4433db19cc0423456f0bacf4dd4c241",
"url": "https://osv.dev/vulnerability/CVE-2025-68658",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Open Source Point of Sale (opensourcepos) Stored XSS in Configuration (Information) – Company Name field",
"summary": "Open Source Point of Sale (opensourcepos) is a web based point of sale application written in PHP using CodeIgniter framework. opensourcepos 3.4.0 and 3.4.1 has a stored XSS vulnerability exists in the Configuration (Information) functionality. An authenticated user with the permission “Configuration: Change OSPOS's Configuration” can inject a malicious JavaScript payload into the Company Name field when updating Information in Configuration. The malicious payload is stored and later triggered when a user accesses /sales/complete. First select Sales, and choose New Item to create an item, then click on Completed . Due to insufficient input validation and output encoding, the payload is rendered and executed in the user’s browser, resulting in a stored XSS vulnerability. This vulnerability is fixed in 3.4.2.",
"evidence": "osv:CVE-2025-68658",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-68658",
"aliases": [
"CVE-2025-68658",
"GHSA-32r8-8r9r-9chw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opensourcepos/opensourcepos",
"type": "GIT",
"events": [
{
"introduced": "30c0174628ac48d4a728c194d0a2f150ac3a7077"
},
{
"fixed": "849439c71eaa4c15857fb7c603297261c2ddc26d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.4.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "849439c71eaa4c15857fb7c603297261c2ddc26d"
}
],
"source": "REFERENCES_COMMIT"
},
{
"cpe": "cpe:2.3:a:opensourcepos:open_source_point_of_sale:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "3.4.0"
},
{
"fixed": "3.4.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68658.json"
}
}
],
"modified": "2026-10-28T02:30:48.537385622Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68658.json",
"https://github.com/opensourcepos/opensourcepos/security/advisories/GHSA-32r8-8r9r-9chw",
"https://nvd.nist.gov/vuln/detail/CVE-2025-68658",
"https://github.com/opensourcepos/opensourcepos/commit/849439c71eaa4c15857fb7c603297261c2ddc26d"
],
"provider_metadata": {
"cwe_ids": [
"CWE-79"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68658.json"
}
},
"related_cves": [
{
"value": "CVE-2025-68658",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516967,
"published_at": "2026-01-13T21:25:57.684+00:00"
}