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-10-28T02:31:04Z
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
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:part-db_project:part-db:*:*:*:*:*:*:*:*",
            "range":  [
                {
                    "introduced":  "1.0.0"
                },
                {
                    "fixed":  "1.0.2"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "5b7f44f4eaacad8a79bcedec32780e00d7347099"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        },
        {
            "original_tag":  "v1.0.2",
            "range":  [
                {
                    "fixed":  "f20da0f0493e7b0b9e7c460d9d1c2ca48d9e9a08"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

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"