{"answers":{"affected":"12 open source packages ship an affected version, including github.com/goharbor/harbor and harbor.","exploited":"There is no known exploitation of CVE-2025-32019 in the wild and no public exploit code.","fix":"Upgrade github.com/goharbor/harbor to a fixed version for your release line: 2.4.0-rc1.0.20250421072404-a13a16383a41, 2.12.4-rc1, 2.12.4-rc1+incompatible or 2.13.1-rc1.","what":"CVE-2025-32019 is a medium-severity cross-site scripting vulnerability in goharbor harbor, published on 23 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-32019 and fix it if it is affected.\n\nWhat it is: CVE-2025-32019 is a medium-severity cross-site scripting vulnerability in goharbor harbor, published on 23 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-32019 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/goharbor/harbor (Go): affected all versions; no fix listed\n- github.com/goharbor/harbor (Go): affected all versions; fixed in 2.4.0-rc1.0.20250421072404-a13a16383a41\n- github.com/goharbor/harbor (Go): affected all versions; fixed in 2.4.0-rc1.0.20250421072404-a13a16383a41\n- github.com/goharbor/harbor (Go): affected from 2.12.0-rc1; fixed in 2.12.4-rc1\n- github.com/goharbor/harbor (Go): affected from 2.12.0-rc1; fixed in 2.12.4-rc1\n- github.com/goharbor/harbor (Go): affected from 2.12.0-rc1+incompatible; fixed in 2.12.4-rc1+incompatible\n- github.com/goharbor/harbor (Go): affected from 2.13.0-rc1; fixed in 2.13.1-rc1\n- github.com/goharbor/harbor (Go): affected from 2.13.0-rc1; fixed in 2.13.1-rc1\n- github.com/goharbor/harbor (Go): affected from 2.13.0-rc1+incompatible; fixed in 2.13.1-rc1+incompatible\n- github.com/goharbor/harbor (Go): affected from 2.4.0-rc1.1 up to 2.11.2; no fix listed\n- github.com/goharbor/harbor (Go): affected from 2.4.0-rc1.1 up to 2.11.2; no fix listed\n- harbor (Bitnami): affected all versions; fixed in 2.11.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-32019/ (Markdown: https://insights.sbomify.com/CVE-2025-32019/index.md)","id":"CVE-2025-32019","markdown":"https://insights.sbomify.com/CVE-2025-32019/index.md","name":"CVE-2025-32019","record":{"aliases":["BIT-harbor-2025-32019","GHSA-f9vc-vf3r-pqqq","GO-2025-3825"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"Cloud native registry","requires_auth":"low_privilege","summary":"Attackers can inject malicious scripts via the repository description markdown field, potentially compromising user sessions in Harbor registries.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"description":"Harbor is an open source trusted cloud native registry project that stores, signs, and scans content. Versions 2.11.2 and below, as well as versions 2.12.0-rc1 and 2.13.0-rc1, contain a vulnerability where the markdown field in the info tab page can be exploited to inject XSS code. This is fixed in versions 2.11.3 and 2.12.3.","ecosystems":["Bitnami","Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Harbor's repository description page allows for XSS","id":"CVE-2025-32019","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":null,"products":[],"type":"xss","year":"2025"},"n_packages":12,"n_references":4,"next":{"headline":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in crud-query-parser","id":"CVE-2025-32020"},"packages":[{"ecosystem":"Bitnami","fixed":["2.11.3"],"introduced":["0"],"last_affected":[],"package":"harbor","purl":"pkg:bitnami/harbor","source":"BIT-harbor-2025-32019"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GO-2025-3825"},{"ecosystem":"Go","fixed":["2.4.0-rc1.0.20250421072404-a13a16383a41"],"introduced":["0"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":null,"source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":["2.4.0-rc1.0.20250421072404-a13a16383a41"],"introduced":["0"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":["2.12.4-rc1"],"introduced":["2.12.0-rc1"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":null,"source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":["2.12.4-rc1"],"introduced":["2.12.0-rc1"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":["2.12.4-rc1+incompatible"],"introduced":["2.12.0-rc1+incompatible"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GO-2025-3825"},{"ecosystem":"Go","fixed":["2.13.1-rc1"],"introduced":["2.13.0-rc1"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":null,"source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":["2.13.1-rc1"],"introduced":["2.13.0-rc1"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":["2.13.1-rc1+incompatible"],"introduced":["2.13.0-rc1+incompatible"],"last_affected":[],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GO-2025-3825"},{"ecosystem":"Go","fixed":[],"introduced":["2.4.0-rc1.1"],"last_affected":["2.11.2"],"package":"github.com/goharbor/harbor","purl":null,"source":"GHSA-f9vc-vf3r-pqqq"},{"ecosystem":"Go","fixed":[],"introduced":["2.4.0-rc1.1"],"last_affected":["2.11.2"],"package":"github.com/goharbor/harbor","purl":"pkg:golang/github.com/goharbor/harbor","source":"GHSA-f9vc-vf3r-pqqq"}],"prev":{"headline":"Arbitrary file write from Cursor Agent through a prompt injection from malicious @Docs","id":"CVE-2025-32018"},"products":["harbor"],"published":"2025-07-23","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-07-23","vendors":["goharbor"]},"summary":"Attackers can inject malicious scripts via the repository description markdown field, potentially compromising user sessions in Harbor registries.","url":"https://insights.sbomify.com/CVE-2025-32019/"}