GHSA-VPQV-MQVC-PCX2
Vulnerability from github – Published: 2023-03-16 18:35 – Updated: 2023-03-16 18:35The twitter-bootstrap-rails Gem for Rails contains a flaw that enables a reflected cross-site scripting (XSS) attack. This flaw exists because the bootstrap_flash helper method does not validate input when handling flash messages before returning it to users. This may allow a context-dependent attacker to create a specially crafted request that would execute arbitrary script code in a user's browser session within the trust relationship between their browser and the server.
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "twitter-bootstrap-rails"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.2.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2014-4920"
],
"database_specific": {
"cwe_ids": [
"CWE-79"
],
"github_reviewed": true,
"github_reviewed_at": "2023-03-16T18:35:11Z",
"nvd_published_at": null,
"severity": "MODERATE"
},
"details": "The twitter-bootstrap-rails Gem for Rails contains a flaw that enables a\nreflected cross-site scripting (XSS) attack. This flaw exists because the\nbootstrap_flash helper method does not validate input when handling flash\nmessages before returning it to users. This may allow a context-dependent\nattacker to create a specially crafted request that would execute arbitrary\nscript code in a user\u0027s browser session within the trust relationship between\ntheir browser and the server.\n",
"id": "GHSA-vpqv-mqvc-pcx2",
"modified": "2023-03-16T18:35:11Z",
"published": "2023-03-16T18:35:11Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/twitter-bootstrap-rails/CVE-2014-4920.yml"
},
{
"type": "WEB",
"url": "https://nvisium.com/blog/2014/03/28/reflected-xss-vulnerability-in-twitter"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "Reflective Cross-site Scripting Vulnerability in twitter-bootstrap-rails"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.