VYPR
Unrated severityNVD Advisory· Published Sep 5, 2012· Updated Apr 29, 2026

CVE-2012-4396

CVE-2012-4396

Description

ownCloud before 4.0.2 contains multiple cross-site scripting vulnerabilities via various parameters, allowing remote attackers to inject arbitrary web script or HTML.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

ownCloud before 4.0.2 contains multiple cross-site scripting vulnerabilities via various parameters, allowing remote attackers to inject arbitrary web script or HTML.

Vulnerability

Multiple cross-site scripting (XSS) vulnerabilities exist in ownCloud versions prior to 4.0.2. The issues affect several components: the apps/user_ldap/settings.php endpoint via file names; the bookmarks app via the url and title parameters in ajax/editBookmark.php and the tag and page parameters in ajax/updateList.php; the OpenID app via the identity parameter in settings.php; the gallery app via stack names in lib/tiles.php and the root parameter in templates/index.php; the calendar app via display names in part.import.php, calendar URIs in part.choosecalendar.rowfields.php, and the title, location, and description parameters in lib/object.php; the core js/multiselect.js file; and the media app via the artist, album, and title comments parameters in lib_scanner.php [1][2].

Exploitation

An attacker can exploit these vulnerabilities by crafting malicious input (such as a filename, URL, or parameter value) containing JavaScript or HTML. When a user accesses the affected ownCloud page, the malicious code executes in the context of the victim's browser. No authentication is required for exploitation; the attacker simply needs to lure a user to interact with a crafted link or upload a malicious file. The commits [3][4] show the specific input sanitization added to fix these issues.

Impact

Successful exploitation allows the attacker to execute arbitrary web script or HTML in the victim's browser, leading to potential data theft, session hijacking, or defacement. This could compromise the confidentiality and integrity of the ownCloud instance and its data.

Mitigation

The vulnerability is fixed in ownCloud version 4.0.2, released on 2012-09-05 [1]. Users should upgrade to this version immediately. The fix involves sanitizing user input in the affected files, as demonstrated in the commits [3][4]. No workarounds are available; upgrading is the recommended action.

AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

7
  • OwnCloud/Owncloud2 versions
    cpe:2.3:a:owncloud:owncloud:*:*:*:*:*:*:*:*+ 1 more
    • cpe:2.3:a:owncloud:owncloud:*:*:*:*:*:*:*:*range: <=4.0.1
    • (no CPE)range: <4.0.2
  • OwnCloud/Server5 versions
    cpe:2.3:a:owncloud:owncloud_server:3.0.0:*:*:*:*:*:*:*+ 4 more
    • cpe:2.3:a:owncloud:owncloud_server:3.0.0:*:*:*:*:*:*:*
    • cpe:2.3:a:owncloud:owncloud_server:3.0.1:*:*:*:*:*:*:*
    • cpe:2.3:a:owncloud:owncloud_server:3.0.2:*:*:*:*:*:*:*
    • cpe:2.3:a:owncloud:owncloud_server:3.0.3:*:*:*:*:*:*:*
    • cpe:2.3:a:owncloud:owncloud_server:4.0.0:*:*:*:*:*:*:*

Patches

9

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

11

News mentions

0

No linked articles in our index yet.