Security advisory
A stored cross-site scripting (XSS) vulnerability is found in the text sharing feature of FileCodeBox version 2.2 and earlier. Insufficient input validation allows attackers to inject arbitrary JavaScript code into shared text "codeboxes". The xss payload is automatically executed in the browsers of any users who try to access the infected codebox by clicking link or entering share code.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-51662
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 08:26 UTC · Revision 1
Source evidence
A stored cross-site scripting (XSS) vulnerability is found in the text sharing feature of FileCodeBox version 2.2 and earlier. Insufficient input validation allows attackers to inject arbitrary JavaScript code into shared text "codeboxes". The xss payload is automatically executed in the browsers of any users who try to access the infected codebox by clicking link or entering share code.
osv:CVE-2025-51662
Complete source record
{
"id": "18064607dc3e8e4c27c41b1cb64cf0216fa9e866861de2e235cc0de40a6b5987",
"url": "https://osv.dev/vulnerability/CVE-2025-51662",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2025-51662",
"summary": "A stored cross-site scripting (XSS) vulnerability is found in the text sharing feature of FileCodeBox version 2.2 and earlier. Insufficient input validation allows attackers to inject arbitrary JavaScript code into shared text \"codeboxes\". The xss payload is automatically executed in the browsers of any users who try to access the infected codebox by clicking link or entering share code.",
"evidence": "osv:CVE-2025-51662",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2025-51662",
"aliases": [
"CVE-2025-51662"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/vastsa/filecodebox",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "17331112b43c1d97256e2d8e7e16d76e3b0a3b60"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.2"
}
],
"source": "DESCRIPTION"
},
{
"cpe": "cpe:2.3:a:lanol:filecodebox:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"2.2",
"V2.1",
"V2.0",
"V1.7Beta",
"V1.6",
"V1.5.9.2",
"V1.5.9.1",
"V1.5.9",
"V1.5.6",
"V1.5.7",
"V1.5.4",
"V1.5.3",
"V1.5.2",
"V1.5.1",
"V1.4.5",
"V1.4",
"V1.4.4",
"V1.4.3",
"V1.4.1",
"V1.2",
"V1.1",
"Main"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-51662.json"
}
}
],
"modified": "2026-10-28T02:30:27.428360398Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51662.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-51662",
"https://github.com/vastsa/FileCodeBox/issues/351",
"https://github.com/vastsa/FileCodeBox"
],
"provider_metadata": {
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51662.json"
}
},
"related_cves": [
{
"value": "CVE-2025-51662",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 493798,
"published_at": "2025-11-19T00:00:00+00:00"
}