CVE-2025-25190

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-25190
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-25190.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-25190
Aliases
  • GHSA-2569-6r9f-j7jv
Published
2025-02-10T22:11:00Z
Modified
2025-10-20T20:30:43.352572Z
Severity
  • 5.5 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:P CVSS Calculator
Summary
[XBOW-025-033] Cross-Site Scripting (XSS) via EchoProcess Service in ZOO-Project WPS Server
Details

The ZOO-Project is an open source processing platform. The ZOO-Project Web Processing Service (WPS) Server contains a Cross-Site Scripting (XSS) vulnerability in its EchoProcess service prior to commit 7a5ae1a. The vulnerability exists because the EchoProcess service directly reflects user input in its output without proper sanitization when handling complex inputs.The service accepts various input formats including XML, JSON, and SVG, and returns the content based on the requested MIME type. When processing SVG content and returning it with the image/svg+xml MIME type, the server fails to sanitize potentially malicious JavaScript in attributes like onload, allowing arbitrary JavaScript execution in the victim's browser context. This vulnerability is particularly dangerous because it exists in a service specifically designed to echo back user input, and the lack of proper sanitization in combination with SVG handling creates a reliable XSS vector. Commit 7a5ae1a contains a fix for the issue.

Database specific
{
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/zoo-project/zoo-project

Affected ranges

Type
GIT
Repo
https://github.com/zoo-project/zoo-project
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

rel-1.*

rel-1.9.0
rel-1.9.0-rc1

rel-2.*

rel-2.0.0
rel-2.0.0-rc1
rel-2.0.0-rc2

Database specific

vanir_signatures

[
    {
        "digest": {
            "function_hash": "231051355282328300929266040077176613138",
            "length": 1569.0
        },
        "target": {
            "function": "createExceptionJ",
            "file": "zoo-project/zoo-kernel/service_json.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-5067f225"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "233984776589764210062644956435915334257",
                "244379300849682835098133070406481459564",
                "329737052098170391194376784835347477897"
            ]
        },
        "target": {
            "file": "zoo-project/zoo-kernel/service.h"
        },
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-a3fd363b"
    },
    {
        "digest": {
            "function_hash": "332866283505252080449139314528649096373",
            "length": 1727.0
        },
        "target": {
            "function": "printLiteralValueJ",
            "file": "zoo-project/zoo-kernel/service_json.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-b6913c67"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "61758777023036539781188222581923761990",
                "123228442083373715887782275403031334270",
                "290541340597568225788551552617770685377",
                "246499266982688774401004635751521676379",
                "178305232653255818917589700746593895291",
                "325429144131440520674049134488098501385",
                "137631184978948274358107832998115890985",
                "96045283971812406168717037482414450696",
                "296967069365433062667619170013873586707",
                "323151586371492364894261326487252015706",
                "266357938995378404256731681192808036005",
                "27065288854430022702506479920029995223",
                "243573816431965537277124208289828124096",
                "243434971390711590451921275056476434785",
                "19950942973068469210113308486009826682",
                "91216978378999347352446281611973954741",
                "263194597905717967354733425679309247885",
                "79663893416428291219048993186292443908",
                "290146112562556495713398821167521725086",
                "162815685142869758932705777625506719685",
                "305842605685069034620932908792338014380",
                "272498121683583580315933313419172208722",
                "221940365454503664883852765900501385102",
                "336030023939419481413763633331065642023",
                "156545883720139552310519992345909428270",
                "177932859639400821701562315964404664238",
                "247773960059199543877765328136950522611",
                "323935482085635800879566781697484132722",
                "264148319118229229975853034297950154388",
                "319918256575138777346952304637472224285",
                "293051234214072194378832180919741917460"
            ]
        },
        "target": {
            "file": "zoo-project/zoo-kernel/service_json.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-b6ad03a8"
    },
    {
        "digest": {
            "function_hash": "81091687839805494614621801245179318795",
            "length": 2736.0
        },
        "target": {
            "function": "printRawdataOutput",
            "file": "zoo-project/zoo-kernel/response_print.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-ca99eefb"
    },
    {
        "digest": {
            "function_hash": "210954194874373732423898703623760378204",
            "length": 3417.0
        },
        "target": {
            "function": "createStatus",
            "file": "zoo-project/zoo-kernel/service_json.c"
        },
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-e1069d52"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "135378663830043560440289645782142949249",
                "148983788641718280021606953937117514365",
                "200386134473859730309274428582515489008"
            ]
        },
        "target": {
            "file": "zoo-project/zoo-kernel/response_print.c"
        },
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/zoo-project/zoo-project/commit/7a5ae1a10faa2f9877d18ec72550dc23e8ce1aac",
        "signature_version": "v1",
        "id": "CVE-2025-25190-e80c5968"
    }
]