VDB
Sign up
MEDIUM4.1

GO-2025-3825

Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor

Quick fix

GO-2025-3825 — github.com/goharbor/harbor: upgrade to the fixed version with the command below.

go get github.com/goharbor/harbor@v2.12.4-rc1+incompatible

Details

Harbor repository description page has Cross-site Scripting vulnerability in github.com/goharbor/harbor.

NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.

(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)

The additional affected modules and versions are: github.com/goharbor/harbor before v2.4.0-rc1.0.20250421072404-a13a16383a41.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/goharbor/harbor
Introduced in: 0

No fixed version published yet for github.com/goharbor/harbor (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/goharbor/harbor
Introduced in: 0

No fixed version published yet for github.com/goharbor/harbor (go modules). Pin to a known-safe version or switch to an alternative.

Go/github.com/goharbor/harbor
Introduced in: 2.12.0-rc1+incompatibleFixed in: 2.12.4-rc1+incompatible
Fixgo get github.com/goharbor/harbor@v2.12.4-rc1+incompatible
Go/github.com/goharbor/harbor
Introduced in: 2.13.0-rc1+incompatibleFixed in: 2.13.1-rc1+incompatible
Fixgo get github.com/goharbor/harbor@v2.13.1-rc1+incompatible

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/goharbor/harbor"]}'