Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:maven/org.mock-server/mockserver@3.9
purl pkg:maven/org.mock-server/mockserver@3.9
Next non-vulnerable version 5.12.0
Latest non-vulnerable version 5.12.0
Risk 3.1
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-9b23-x2k4-w7h6
Aliases:
CVE-2021-32827
GHSA-v3cg-h3f6-2242
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') MockServer is open source software which enables easy mocking of any system you integrate with via HTTP or HTTPS. An attacker that can trick a victim into visiting a malicious site while running MockServer locally, will be able to run arbitrary code on the MockServer machine. With an overly broad default CORS configuration MockServer allows any site to send cross-site requests. Additionally, MockServer allows you to create dynamic expectations using Javascript or Velocity templates. Both engines may allow an attacker to execute arbitrary code on-behalf of MockServer. By combining these two issues (Overly broad CORS configuration + Script injection), an attacker could serve a malicious page so that if a developer running MockServer visits it, they will get compromised. For more details including a PoC see the referenced GHSL-2021-059.
5.12.0
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T00:57:26.112235+00:00 GitLab Importer Affected by VCID-9b23-x2k4-w7h6 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/maven/org.mock-server/mockserver/CVE-2021-32827.yml 38.6.0