CVE-2023-26042

Source
https://cve.org/CVERecord?id=CVE-2023-26042
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26042.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-26042
Aliases
  • GHSA-9pmh-gmxx-rg2x
Published
2023-02-27T14:41:24Z
Modified
2026-08-12T03:51:16Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
HTML/XSS injection possibilities in Part-DB
Details

Part-DB is an open source inventory management system for your electronic components. User input was found not being properly escaped, which allowed malicious users to inject arbitrary HTML into the pages. The Content-Security-Policy forbids inline and external scripts so it is not possible to execute JavaScript code, unless in combination with other vulnerabilities. There are no workarounds, please upgrade to Pat-DB 1.0.2 or later.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/26xxx/CVE-2023-26042.json"
}
References

Affected packages

Git / github.com/part-db/part-db-server

Affected ranges

Type
GIT
Repo
https://github.com/part-db/part-db-server
Events
Database specific
Show details
{
    "cpe": "cpe:2.3:a:part-db_project:part-db:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "fixed": "1.0.2"
        }
    ],
    "source": [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

v1.*
v1.0.0
v1.0.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-26042.json"